diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-13 14:06:38 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-14 13:59:59 +0000 |
| commit | acb9f2d4755a70e31343f99791aa43b05401b996 (patch) | |
| tree | 72d739474b3b374c48ed9f28589c813a7640edc8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | perf intel-pt: Add brief documentation for PEBS via Intel PT (diff) | |
| download | kernel-acb9f2d4755a70e31343f99791aa43b05401b996.tar.gz kernel-acb9f2d4755a70e31343f99791aa43b05401b996.zip | |
perf evsel: Provide meaningful warning when trying to use 'aux_output' on older kernels
Just like we do with the 'write_backwards' feature:
Before:
# perf record -e {intel_pt/branch=0/,cycles/aux-output/ppp} uname
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cycles/aux-output/ppp).
/bin/dmesg | grep -i perf may provide additional information.
#
After:
# perf record -e {intel_pt/branch=0/,cycles/aux-output/ppp} uname
Error:
The 'aux_output' feature is not supported, update the kernel.
#
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
