aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-06-06 22:15:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-06-07 18:50:14 +0000
commitf7fa827f5f432a0b1f34e10fc49da93aeef9f817 (patch)
treeec72af9f888a069277fc504116a871af13996818 /tools/perf/scripts/python
parentperf hists: Reimplement hists__has_callchains() (diff)
downloadkernel-f7fa827f5f432a0b1f34e10fc49da93aeef9f817.tar.gz
kernel-f7fa827f5f432a0b1f34e10fc49da93aeef9f817.zip
perf tools: Fix error index for pmu event parser
For events we provide specific error message we need to set error column index, PMU parser is missing that, adding it. Before: $ perf stat -e cycles,krava/cycles/ kill event syntax error: 'cycles,krava/cycles/' \___ Cannot find PMU `krava'. Missing kernel support? After: $ perf stat -e cycles,krava/cycles/ kill event syntax error: 'cycles,krava/cycles/' \___ Cannot find PMU `krava'. Missing kernel support? Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[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')
0 files changed, 0 insertions, 0 deletions