aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2015-08-13 12:40:57 +0300
committerArnaldo Carvalho de Melo <[email protected]>2015-09-04 12:01:05 -0300
commit86c2786994bd7c0d4b525bbfbe42ac540d0b8166 (patch)
treed536022cb55f7d0d3d2d98e7b70ad39f84919dee /include/linux/workqueue.h
parent1b29ac59b1d692c06ec543a5f35e0d9ebb98e003 (diff)
perf intel-pt: Add support for PERF_RECORD_SWITCH
Add support for selecting and processing PERF_RECORD_SWITCH events for use by Intel PT. If they are available, they will be used in preference to sched_switch events. This enables an unprivileged user to trace multi-threaded or multi-process workloads with any level of perf_event_paranoid. However it depends on kernel support for PERF_RECORD_SWITCH. Without this patch, tracing a multi-threaded workload will decode without error but all the data will be attributed to the main thread. Without this patch, tracing a multi-process workload will result in decoder errors because the decoder will not know which executable is executing. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions