1PROBE::SCHEDULER.C(3stap) Scheduler Tapset PROBE::SCHEDULER.C(3stap)
2
3
4
6 probe::scheduler.ctxswitch - A context switch is occuring.
7
9 scheduler.ctxswitch
10
12 prev_pid
13 The PID of the process to be switched out
14
15 name
16 name of the probe point
17
18 next_task_name
19 The name of the process to be switched in
20
21 nexttsk_state
22 the state of the process to be switched in
23
24 prev_priority
25 The priority of the process to be switched out
26
27 next_pid
28 The PID of the process to be switched in
29
30 next_priority
31 The priority of the process to be switched in
32
33 prevtsk_state
34 the state of the process to be switched out
35
36 next_tid
37 The TID of the process to be switched in
38
39 prev_task_name
40 The name of the process to be switched out
41
42 prev_tid
43 The TID of the process to be switched out
44
46 Currently, SystemTap can't access arguments of inline functions. So we
47 choose to probe __switch_to instead of context_switch
48
49
50
51SystemTap Tapset Reference August 2011 PROBE::SCHEDULER.C(3stap)