aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2019-02-04 11:31:40 -0800
committerArnaldo Carvalho de Melo <[email protected]>2019-02-14 13:31:11 -0300
commit39f4a913d6d439178177cae8aa2e9a232160fd51 (patch)
tree8c80a8796a7462d795f95fa8de2410b60df1b942 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent33937e599449c65dbd69c60d7e2255012427baed (diff)
perf utils: Silence "Couldn't synthesize bpf events" warning for EPERM
Synthesizing BPF events is only supported for root. Silent warning msg when non-root user runs perf-record. Reported-by: David Carrillo-Cisneros <[email protected]> Signed-off-by: Song Liu <[email protected]> Tested-by: David Carrillo-Cisneros <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: [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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions