Lines Matching refs:sched_switch
127 # echo 't sched_switch preempt prev_pid=prev->pid next_pid=next->pid' >> dynamic_events
154 # echo 't sched_switch prev->comm:string' >> dynamic_events
188 Also, here is an example of tracepoint events on ``sched_switch`` tracepoint.
189 To compare the result, this also enables the ``sched_switch`` traceevent too.
192 # echo 't sched_switch $arg*' >> dynamic_events
193 # echo 1 > events/sched/sched_switch/enable
194 # echo 1 > events/tracepoints/sched_switch/enable
199 …sh-70 [000] d..2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_sta…
200 …sh-70 [000] d..3. 3912.083995: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 p…
201 …<idle>-0 [000] d..2. 3912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
202 …<idle>-0 [000] d..3. 3912.084184: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt…
203 …rcu_preempt-16 [000] d..2. 3912.084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev…
204 …rcu_preempt-16 [000] d..3. 3912.084196: sched_switch: (__probestub_sched_switch+0x4/0x10) pr…
205 …<idle>-0 [000] d..2. 3912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
206 …<idle>-0 [000] d..3. 3912.085191: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt…
208 As you can see, the ``sched_switch`` trace-event shows *cooked* parameters, on
209 the other hand, the ``sched_switch`` tracepoint probe event shows *raw*
217 # echo 't sched_switch comm=next->comm:string next->start_time' > dynamic_events
221 …sh-70 [000] d..3. 5606.686577: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="rcu_p…
222 …rcu_preempt-16 [000] d..3. 5606.686602: sched_switch: (__probestub_sched_switch+0x4/0x10) co…
223 …sh-70 [000] d..3. 5606.686637: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="swapp…
224 …<idle>-0 [000] d..3. 5606.687190: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="r…
225 …rcu_preempt-16 [000] d..3. 5606.687202: sched_switch: (__probestub_sched_switch+0x4/0x10) co…
226 …<idle>-0 [000] d..3. 5606.690317: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="k…
227 …kworker/0:1-14 [000] d..3. 5606.690339: sched_switch: (__probestub_sched_switch+0x4/0x10) co…
228 …<idle>-0 [000] d..3. 5606.692368: sched_switch: (__probestub_sched_switch+0x4/0x10) comm="k…