diff options
author | Andi Kleen <[email protected]> | 2019-06-24 12:37:08 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-01 22:50:41 -0300 |
commit | 145c407c808352acd625be793396fd4f33c794f8 (patch) | |
tree | 1aead735a2ceaadbe5923b4d332e000c2a151930 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9c10548c42219e961279826c2763a0e32dc056b9 (diff) |
perf stat: Make metric event lookup more robust
After setting up metric groups through the event parser, the metricgroup
code looks them up again in the event list.
Make sure we only look up events that haven't been used by some other
metric. The data structures currently cannot handle more than one metric
per event. This avoids problems with multiple events partially
overlapping.
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Kan Liang <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions