preempt_notifier_register(9) tell me when current is being preempted & rescheduled

SYNOPSIS

void preempt_notifier_register(struct preempt_notifier * notifier);

ARGUMENTS

notifier

notifier struct to register

COPYRIGHT