aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2014-09-24 14:39:54 -0700
committerArnaldo Carvalho de Melo <[email protected]>2014-09-26 10:51:41 -0300
commita5c2a4c9561cbbd374231bd341936dae716df9dd (patch)
tree64c783c65a8765b304cd09065ee1c580f124d32c /tools/perf/util/scripting-engines/trace-event-python.c
parentda88c7f78d842a6938d9adde6af87a2ce262051d (diff)
perf tools: Fix perf record as non root with kptr_restrict == 1
Currently perf record always errors out when you run it as non-root with kptr_restrict == 1, which is often the default. Make it only warn instead and fix the kernel resolve code to not segfault later. Profiling works still fine, except kernel symbols are not resolved. Signed-off-by: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[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-python.c')
0 files changed, 0 insertions, 0 deletions