Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
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-6.1.9/Documentation/trace/
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 …]
Dhistogram.rst2085 CPU by a sched_switch event (saved_pid matches next_pid), calculate
2092 /sys/kernel/debug/tracing/events/sched/sched_switch/trigger
2120 sched_waking and another for sched_switch, keyed on pid. Whenever
2136 /sys/kernel/debug/tracing/events/sched/sched_switch/trigger
2142 # cat /sys/kernel/debug/tracing/events/sched/sched_switch/hist
2179 sched_waking and another for sched_switch, keyed on pid. Whenever
2198 /sys/kernel/debug/tracing/events/sched/sched_switch/trigger
2207 # cat /sys/kernel/debug/tracing/events/sched/sched_switch/hist
2239 sched_switch events, which should match the time displayed in the
2244 …<...>-2103 [005] d..3 309.873125: sched_switch: prev_comm=cyclictest prev_pid=2103 prev_prio=19…
[all …]
Dftrace.rst283 Note, sched_switch and sched_wake_up will also trace events
294 Note, sched_switch and sched_wakeup will trace threads not listed
296 sched_switch or sched_wakeup events also trace a thread that should
1182 in the sched_switch trace point to fill comm cache
1190 in the sched_switch trace point to fill the cache of
3160 echo 'try_to_wake_up:enable_event:sched:sched_switch:2' > \
3170 echo '!try_to_wake_up:enable_event:sched:sched_switch:0' > \
3172 echo '!schedule:disable_event:sched:sched_switch' > \
3350 …<idle>-0 [005] d... 2440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 …
3351 …sleep-2242 [005] d... 2440.603846: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_pr…
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/perf/scripts/perl/bin/
Dwakeup-latency-record2 perf record -e sched:sched_switch -e sched:sched_wakeup $@
/linux-6.1.9/tools/perf/scripts/python/bin/
Dsched-migration-record2 perf record -m 16384 -e sched:sched_wakeup -e sched:sched_wakeup_new -e sched:sched_switch -e sched…
/linux-6.1.9/samples/trace_events/
Dtrace_custom_sched.h21 TRACE_CUSTOM_EVENT(sched_switch,
/linux-6.1.9/tools/perf/tests/
Dswitch-tracking.c327 const char *sched_switch = "sched:sched_switch"; in test__switch_tracking() local
396 if (!evlist__can_select_event(evlist, sched_switch)) { in test__switch_tracking()
405 pr_debug("Failed to create event %s\n", sched_switch); in test__switch_tracking()
/linux-6.1.9/tools/perf/scripts/perl/
Dwakeup-latency.pl28 sub sched::sched_switch
/linux-6.1.9/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-6.1.9/tools/testing/selftests/ftrace/test.d/instances/
Dinstance-event.tc42 echo 1 > foo/events/sched/sched_switch
/linux-6.1.9/Documentation/tools/rtla/
Dcommon_options.rst19 …*) session. The argument can be a specific event, e.g., **-e** *sched:sched_switch*, or all events…
/linux-6.1.9/tools/perf/arch/x86/util/
Dintel-pt.c423 const char *sched_switch = "sched:sched_switch"; in intel_pt_track_switches() local
427 if (!evlist__can_select_event(evlist, sched_switch)) in intel_pt_track_switches()
434 __func__, sched_switch, err); in intel_pt_track_switches()

12