diff options
| author | Adrian Hunter <[email protected]> | 2014-08-12 18:04:30 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-13 16:22:06 -0300 |
| commit | 46ec69add5df60310147ce3ce01a662053d82a1e (patch) | |
| tree | 3c4f17d7e58c90025a0e836a138eab753bd9b662 /tools/perf/scripts/python/netdev-times.py | |
| parent | c6fa35659c5fae5f9aeb6874b177baeb2adbc02e (diff) | |
perf tools: Fix probing the kernel API with cpu-wide events
Fall back to probing with the current pid if cpu-wide probing fails.
This primarily affects the setting of comm_exec flag when the user is
un-privileged and /proc/sys/kernel/perf_event_paranoid > 0.
The change to comm_exec can be observed by using -vv with perf record
and a kernel that supports comm_exec.
Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Jiri Olsa <[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/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions