Home
last modified time | relevance | path

Searched refs:sched_switch (Results 26 – 39 of 39) sorted by relevance

12

/openbmc/linux/tools/perf/Documentation/
H A 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
H A Dperf-intel-pt.txt790 as the sched:sched_switch tracepoints will be used to receive such information:
802 sched_switch tracepoint
805 The sched_switch tracepoint is used to provide side-band data for Intel PT
809 The sched_switch events are automatically added. e.g. the second event shown
880 Note, the sched_switch event is only added if the user is permitted to use it
883 Note also, the sched_switch event is only added if TSC packets are requested.
884 That is because, in the absence of timing information, the sched_switch events
H A Dperf-report.txt182 and event name everytime. For example, 'sched:sched_switch' event can
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_task_analyzer.sh61 perf record -e sched:sched_switch -a -- sleep 1 > /dev/null 2>&1
/openbmc/linux/Documentation/tools/rtla/
H A Dcommon_options.rst23 …*) session. The argument can be a specific event, e.g., **-e** *sched:sched_switch*, or all events…
/openbmc/linux/Documentation/trace/
H A Dhistogram.rst1952 …mmon_timestamp.usecs,st=common_stacktrace if prev_state == 2' >> events/sched/sched_switch/trigger
1953 …s-$ts,s=$st:onmax($delta).trace(block_lat,prev_pid,$delta,$s)' >> events/sched/sched_switch/trigger
2247 CPU by a sched_switch event (saved_pid matches next_pid), calculate
2254 /sys/kernel/tracing/events/sched/sched_switch/trigger
2282 sched_waking and another for sched_switch, keyed on pid. Whenever
2298 /sys/kernel/tracing/events/sched/sched_switch/trigger
2304 # cat /sys/kernel/tracing/events/sched/sched_switch/hist
2341 sched_waking and another for sched_switch, keyed on pid. Whenever
2360 /sys/kernel/tracing/events/sched/sched_switch/trigger
2369 # cat /sys/kernel/tracing/events/sched/sched_switch/hist
[all …]
H A 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
1219 in the sched_switch trace point to fill comm cache
1227 in the sched_switch trace point to fill the cache of
3323 echo 'try_to_wake_up:enable_event:sched:sched_switch:2' > \
3333 echo '!try_to_wake_up:enable_event:sched:sched_switch:0' > \
3335 echo '!schedule:disable_event:sched:sched_switch' > \
3588 # echo 1 > instances/foo/events/sched/sched_switch/enable
3610 …<idle>-0 [003] d..3 136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 p…
[all …]
H A Devents.rst308 # cat sched_switch/filter
318 # cat sched_switch/filter
329 # cat sched_switch/filter
463 kmem:kmalloc and sched:sched_switch, but can't have two kmem:kmalloc
/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c418 const char *sched_switch = "sched:sched_switch"; in intel_pt_track_switches() local
422 if (!evlist__can_select_event(evlist, sched_switch)) in intel_pt_track_switches()
429 __func__, sched_switch, err); in intel_pt_track_switches()
/openbmc/openbmc/poky/documentation/profile-manual/
H A Dusage.rst554 0 sched:sched_switch
608 sched:sched_switch tracepoint, which shows the relative costs of various
659 …root@crownbay:~# perf record -g -e skb:* -e net:* -e napi:* -e sched:sched_switch -e sched:sched_w…
941 root@crownbay:~# perf record -a -e sched:sched_switch -e sched:sched_wakeup
950 …perf 1383 [001] 6171.460066: sched_switch: prev_comm=perf prev_pid=1383 prev_prio=120 prev_state…
951 …kworker/1:1 21 [001] 6171.460093: sched_switch: prev_comm=kworker/1:1 prev_pid=21 prev_prio=12…
956 …perf 1383 [001] 6171.470058: sched_switch: prev_comm=perf prev_pid=1383 prev_prio=120 prev_state…
957 …kworker/1:1 21 [001] 6171.470082: sched_switch: prev_comm=kworker/1:1 prev_pid=21 prev_prio=12…
970 …root@crownbay:~# perf record -a -e sched:sched_switch --filter 'next_comm != perf && prev_comm != …
986 …swapper 0 [001] 7932.230146: sched_switch: prev_comm=swapper/1 prev_pid=0 prev_prio=120 prev_…
[all …]
/openbmc/linux/include/trace/events/
H A Dsched.h222 TRACE_EVENT(sched_switch,
/openbmc/linux/tools/perf/
H A Dbuiltin-timechart.c458 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, in sched_switch() function
651 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
/openbmc/linux/kernel/trace/
H A DKconfig523 want to trace. It also includes the sched_switch tracer plugin.
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1565 trace_instance=foo,sched_switch ftrace_boot_snapshot=foo
6541 trace_instance=foo,sched:sched_switch,irq_handler_entry,initcall
6543 will enable the "sched_switch" event (note, the "sched:" is optional, and
6573 trace_trigger="sched_switch.stacktrace if prev_state == 2"
6575 The above will enable the "stacktrace" trigger on the "sched_switch"
6576 event but only trigger it if the "prev_state" of the "sched_switch"

12