diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-12 17:27:11 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-14 10:59:59 -0300 |
commit | 73e5de70dca00344cb48e018131a4cadec0fabf0 (patch) | |
tree | 49210714c5adf14b5495e1d3b33b6104b0543352 /lib/test_overflow.c | |
parent | c766f3df635de14295e410c6dd5410bc416c24a0 (diff) |
perf ftrace: Improve error message about capability to use ftrace
If we link against libcap, then we can state that CAP_SYS_ADMIN is
needed, if not, fallback to telling the user it needs to be root, as was
before linking against libcap.
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: Igor Lubashev <[email protected]>
Cc: James Morris <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions