Oracle® Solaris 11.2 Dynamic Tracing Guide

Exit Print View

Updated: July 2014
 
 

Arguments

The argument types for the sched probes are listed in Table 11–29; the arguments are described in Table 11–28.

Table 11-29  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 *

As Table 11–29 indicates, 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.