diff options
author | 2015-11-27 15:54:33 -0300 | |
---|---|---|
committer | 2015-11-27 16:03:46 -0300 | |
commit | bae9cc41105b9edd74d68a9636be2ba240e74b9e (patch) | |
tree | 7c6b3433446ec1cd102ca952884acf5123d35b52 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf test: 'unwind' test should create kernel maps (diff) | |
download | linux-dev-bae9cc41105b9edd74d68a9636be2ba240e74b9e.tar.xz linux-dev-bae9cc41105b9edd74d68a9636be2ba240e74b9e.zip |
perf list: Add support for PERF_COUNT_SW_BPF_OUT
When PERF_COUNT_SW_BPF_OUTPUT was added to the kernel we should've
added it to tools/perf, where it is used just to list events.
This ended up causing a segfault in commands like "perf list stall".
Fix it by adding that new software counter.
A patch to robustify perf to not segfault when the next counter gets
added in the kernel will follow this one.
Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-uya354upi3eprsey6mi5962d@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions