aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2014-07-31 06:00:51 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-08-13 22:21:18 +0000
commitbf8e8f4b832972c76d64ab2e2837a48397144887 (patch)
tree55b1b99106fe3bbb4362ac1ec80666b3ab2fbb57 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf symbols: Fix missing label symbols (diff)
downloadkernel-bf8e8f4b832972c76d64ab2e2837a48397144887.tar.gz
kernel-bf8e8f4b832972c76d64ab2e2837a48397144887.zip
perf evlist: Add 'system_wide' option
Add an option to cause a selected event to be opened always without a pid when configured by perf_evsel__config(). This is needed when using the sched_switch tracepoint to follow object code execution. sched_switch occurs before the task switch and so it cannot record it in a context limited to that task. Note that also means that sched_switch is useless when capturing data per-thread, as is the 'context-switches' software event for the same reason. Signed-off-by: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions