sched
Probes
The sched
probes are described in the following
table.
Table 11-31
sched
Probes
Probe | Description |
---|---|
|
Fires whenever a thread's priority is about
to be changed. The |
|
Fires immediately before the current thread
is placed on a wait queue. The
|
|
Fires immediately after a thread is removed
from a wait queue. The
|
|
Fires immediately before a runnable thread
is dequeued from a run queue. The
|
|
Fires immediately before a runnable thread
is enqueued to a run queue. The
|
|
Fires when the current CPU is about to end
execution of a thread. The
|
|
Fires when a CPU has just begun execution of
a thread. The |
|
Fires immediately before the current thread
is preempted. After this probe fires, the current
thread will select a thread to run and the
|
|
Fires when a scheduling decision has been
made, but the dispatcher has elected to continue
to run the current thread. The
|
|
Fires when a thread is preempted and then
re-enqueued at the front of the run queue due to a
preemption control request. See
schedctl_init(3C) for
details on preemption control. As with preempt,
either |
|
Fires when a thread that is using preemption
control is nonetheless preempted and re-enqueued
at the back of the run queue. See
schedctl_init(3C) for
details on preemption control. As with preempt,
either |
schedctl-yield |
Fires when a thread that had preemption control enabled and its time slice artificially extended executed code to yield the CPU to other threads. |
sleep |
Fires immediately before the current thread
sleeps on a synchronization object. The type of
the synchronization object is contained in the
|
surrender |
Fires when a CPU has been instructed by another CPU to make a scheduling decision – often because a higher-priority thread has become runnable. |
tick |
Fires as a part of clock tick-based
accounting. In clock tick-based accounting, CPU
accounting is performed by examining which threads
and processes are running when a fixed-interval
interrupt fires. The |
wakeup |
Fires immediately before the current thread
wakes a thread sleeping on a synchronization
object. The |