DOKK / manpages / debian 12 / systemtap-doc / probe::scheduler.ctxswitch.3stap.en
PROBE::SCHEDULER.C(3stap) Scheduler Tapset PROBE::SCHEDULER.C(3stap)

probe::scheduler.ctxswitch - A context switch is occuring.

scheduler.ctxswitch 

next_pid

The PID of the process to be switched in

next_priority

The priority of the process to be switched in

prev_task_name

The name of the process to be switched out

prev_pid

The PID of the process to be switched out

prev_priority

The priority of the process to be switched out

next_task_name

The name of the process to be switched in

prev_tid

The TID of the process to be switched out

name

name of the probe point

nexttsk_state

the state of the process to be switched in

next_tid

The TID of the process to be switched in

prevtsk_state

the state of the process to be switched out

tapset::scheduler(3stap)

November 2022 SystemTap Tapset Reference