PROBE::SCHEDULER.C(3stap) Scheduler Tapset PROBE::SCHEDULER.C(3stap)NAMEprobe::scheduler.ctxswitch - A context switch is occuring.
SYNOPSIS
scheduler.ctxswitch
VALUES
prev_pid
The PID of the process to be switched out
name
name of the probe point
next_task_name
The name of the process to be switched in
nexttsk_state
the state of the process to be switched in
prev_priority
The priority of the process to be switched out
next_pid
The PID of the process to be switched in
next_priority
The priority of the process to be switched in
prevtsk_state
the state of the process to be switched out
next_tid
The TID of the process to be switched in
prev_task_name
The name of the process to be switched out
prev_tid
The TID of the process to be switched out
DESCRIPTION
Currently, SystemTap canĀ“t access arguments of inline functions. So we
choose to probe __switch_to instead of context_switch
AUTHOR
SystemTap
Hackers
COPYRIGHTSystemTap Tapset Reference February 2012 PROBE::SCHEDULER.C(3stap)