diff options
| author | Igor Lubashev <[email protected]> | 2019-08-26 21:39:13 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-28 17:18:08 -0300 |
| commit | dda1bf8ea78add78739d128a20b555c4a1a19c27 (patch) | |
| tree | f44a3973bdee2b3a771f08e3dcb7f161b5ff1ded /tools/perf/scripts/python | |
| parent | e9a6882f267a8105461066e3ea6b4b6b9be1b807 (diff) | |
perf tools: Use CAP_SYS_ADMIN with perf_event_paranoid checks
The kernel is using CAP_SYS_ADMIN instead of euid==0 to override
perf_event_paranoid check. Make perf do the same.
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Tested-by: Mathieu Poirier <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]> # coresight part
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Igor Lubashev <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions