sched Probe Arguments

The argument types for the sched probes are listed in the following table; the arguments are described in sched Probes.

Table 11-32 sched Probe Arguments

Probe args[0] args[1] args[2] args[3]

change-pri

lwpsinfo_t *

psinfo_t *

pri_t

-

cpucaps-sleep

lwpsinfo_t *

psinfo_t *

-

-

cpucaps-wakeup-

lwpsinfo_t *

psinfo_t *

-

-

dequeue

lwpsinfo_t *

psinfo_t *

cpuinfo_t *

-

enqueue

lwpsinfo_t *

psinfo_t *

cpuinfo_t *

int

off-cpu

lwpsinfo_t *

psinfo_t *

-

-

on-cpu

-

-

-

-

preempt

-

-

-

-

remain-cpu

-

-

-

-

schedctl-nopreempt

lwpsinfo_t *

psinfo_t *

-

-

schedctl-preempt

lwpsinfo_t *

psinfo_t *

-

-

schedctl-yield

lwpsinfo_t *

psinfo_t *

-

-

sleep

-

-

-

-

surrender

lwpsinfo_t *

psinfo_t *

-

-

tick

lwpsinfo_t *

psinfo_t *

-

-

wakeup

lwpsinfo_t *

psinfo_t *

-

-

Many sched probes have arguments consisting of a pointer to an lwpsinfo_t and a pointer to a psinfo_t, indicating a thread and the process containing the thread, respectively. These structures are described in detail in lwpsinfo_t and psinfo_t, respectively. For more information, see Table 11-32.