diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-10 19:08:07 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-10 19:14:48 +0000 |
| commit | d37a369790774af66a4aee61a188384d21b17a43 (patch) | |
| tree | 079cbd40c16d49c2813e8afe93e811aac668c451 /tools/perf/scripts/python/sctop.py | |
| parent | kprobes: Ensure that jprobe probepoints are at function entry (diff) | |
| download | kernel-d37a369790774af66a4aee61a188384d21b17a43.tar.gz kernel-d37a369790774af66a4aee61a188384d21b17a43.zip | |
perf evsel: Fix attr.exclude_kernel setting for default cycles:p
To allow probing the max attr.precise_ip setting for non-root users
we unconditionally set attr.exclude_kernel, which makes the detection
work but should be done only for !root, fix it.
Cc: Adrian Hunter <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: 97365e81366f ("perf evsel: Set attr.exclude_kernel when probing max attr.precise_ip")
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
