diff options
author | Andi Kleen <[email protected]> | 2019-06-24 12:37:11 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-01 22:50:41 -0300 |
commit | e3a9427323a53ceee540276a74af7706f350d052 (patch) | |
tree | ff9314728cdd84e9bd6820208a0204feeb744287 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2f87f33f4226523df9c9cc28f9874ea02fcc3d3f (diff) |
perf stat: Fix metrics with --no-merge
Since Fixes: 8c5421c016a4 ("perf pmu: Display pmu name when printing
unmerged events in stat") using --no-merge adds the PMU name to the
evsel name.
This breaks the metric value lookup because the parser doesn't know
about this.
Remove the extra postfixes for the metric evaluation.
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Agustin Vega-Frias <[email protected]>
Cc: Kan Liang <[email protected]>
Fixes: 8c5421c016a4 ("perf pmu: Display pmu name when printing unmerged events in stat")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions