Home
last modified time | relevance | path

Searched refs:sched_switch (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/ftrace/test.d/event/
Devent-enable.tc21 count=`cat trace | grep sched_switch | wc -l`
28 echo 1 > events/sched/sched_switch/enable
32 count=`cat trace | grep sched_switch | wc -l`
39 echo 0 > events/sched/sched_switch/enable
43 count=`cat trace | grep sched_switch | wc -l`
Devent-pid.tc22 echo 1 > events/sched/sched_switch/enable
26 count=`cat trace | grep sched_switch | wc -l`
41 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
50 echo 1 > events/sched/sched_switch/enable
54 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
/Linux-v6.6/Documentation/trace/
Dfprobetrace.rst115 # echo 't sched_switch preempt prev_pid=prev->pid next_pid=next->pid' >> dynamic_events
142 # echo 't sched_switch prev->comm:string' >> dynamic_events
176 Also, here is an example of tracepoint events on ``sched_switch`` tracepoint.
177 To compare the result, this also enables the ``sched_switch`` traceevent too.
180 # echo 't sched_switch $arg*' >> dynamic_events
181 # echo 1 > events/sched/sched_switch/enable
182 # echo 1 > events/tracepoints/sched_switch/enable
187 …sh-70 [000] d..2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_sta…
188 …sh-70 [000] d..3. 3912.083995: sched_switch: (__probestub_sched_switch+0x4/0x10) preempt=0 p…
189 …<idle>-0 [000] d..2. 3912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
[all …]
Dhistogram-design.rst360 pid, and later a sched_switch event that switches to that pid event
368 events/sched/sched_switch/trigger
574 sched_switch histogram | |
577 The sched_switch histogram paired with the above sched_waking | |
579 sched_switch histogram is that it references a variable on the | |
597 The diagram below describes the situation for the sched_switch | |
601 events/sched/sched_switch/trigger | |
705 So, in order to handle an event for the sched_switch histogram,
710 sched_switch histogram. For each one of those, the referenced
723 uses it in the sched_switch trigger. The sched_switch trigger also
[all …]
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-eventonoff.tc19 echo 0 > events/sched/sched_switch/enable
22 if [ `cat events/sched/sched_switch/enable` != '1*' ]; then
29 echo 1 > events/sched/sched_switch/enable
32 if [ `cat events/sched/sched_switch/enable` != '0*' ]; then
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-synthetic-event-stack-legacy.tc15 …tamp.usecs,st=stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
16 …cs-$ts,s=$st:onmax($delta).trace(wake_lat,prev_pid,$delta,$s)' >> events/sched/sched_switch/trigger
Dtrigger-synthetic-event-stack.tc14 …ecs,st=common_stacktrace if prev_state == 1||prev_state == 2' >> events/sched/sched_switch/trigger
15 …cs-$ts,s=$st:onmax($delta).trace(wake_lat,prev_pid,$delta,$s)' >> events/sched/sched_switch/trigger
Dtrigger-onmax-action-hist.tc21 …(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger
24 if ! grep -q "max:" events/sched/sched_switch/hist; then
Dtrigger-onmatch-onmax-action-hist.tc22 …(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger
26 …ing" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_switch/hist]; then
Dtrigger-field-variable-support.tc15 …xt_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
27 …t_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger
Dtrigger-multi-actions-accept.tc14 TRIGGER2=events/sched/sched_switch/trigger
Dtrigger-onmatch-action-hist.tc22 …p_latency($wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
Dtrigger-trace-action-hist.tc22 …p_latency,$wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger
Dtrigger-inter-event-combined-hist.tc26 …eup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sched_switch/trigger
/Linux-v6.6/kernel/trace/rv/monitors/wwnr/
Dwwnr.c46 rv_attach_trace_probe("wwnr", sched_switch, handle_switch); in enable_wwnr()
56 rv_detach_trace_probe("wwnr", sched_switch, handle_switch); in disable_wwnr()
/Linux-v6.6/tools/perf/scripts/python/
Dsched-migration.py104 def sched_switch(self, prev, prev_state, next): member in RunqueueSnapshot
179 def sched_switch(self, ts_list, prev, prev_state, next, cpu): member in TimeSlice
181 new_rq = old_rq.sched_switch(prev, prev_state, next)
333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, member in SchedEventProxy
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
427 parser.sched_switch(headers, prev_comm, prev_pid, prev_prio, prev_state,
/Linux-v6.6/tools/perf/scripts/python/bin/
Dtask-analyzer-record2 perf record -e sched:sched_switch -e sched:sched_migrate_task "$@"
Dsched-migration-record2 perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched…
/Linux-v6.6/tools/perf/scripts/perl/bin/
Dwakeup-latency-record2 perf record -e sched:sched_switch -e sched:sched_wakeup $@
/Linux-v6.6/samples/trace_events/
Dtrace_custom_sched.h21 TRACE_CUSTOM_EVENT(sched_switch,
/Linux-v6.6/tools/perf/tests/
Dswitch-tracking.c328 const char *sched_switch = "sched:sched_switch"; in test__switch_tracking() local
387 if (!evlist__can_select_event(evlist, sched_switch)) { in test__switch_tracking()
396 pr_debug("Failed to create event %s\n", sched_switch); in test__switch_tracking()
/Linux-v6.6/tools/perf/Documentation/
Dperf-trace.txt81 _and_ sched:sched_switch to the 'A' cgroup, while:
85 will only set the sched:sched_switch event to the 'A' cgroup, all the
93 the syscall ones go to the 'A' cgroup, the sched:sched_switch goes
325 Trace the next two sched:sched_switch events, four block:*_plug events, the
330 0.000 :0/0 sched:sched_switch:swapper/2:0 [120] S ==> rcu_sched:10 [120]
331 0.015 rcu_sched/10 sched:sched_switch:rcu_sched:10 [120] R ==> swapper/2:0 [120]
Dperf-inject.txt51 Merge sched_stat and sched_switch for getting events where and how long
52 tasks slept. sched_switch contains a callchain where a task slept and
/Linux-v6.6/tools/perf/scripts/perl/
Dwakeup-latency.pl28 sub sched::sched_switch
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc42 echo 1 > foo/events/sched/sched_switch/enable

12