diff options
author | John Garry <[email protected]> | 2020-06-17 17:01:53 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-22 16:28:09 -0300 |
commit | c1b4745b48b3c5a29df6ef2b68384e7cccdc3691 (patch) | |
tree | f3c0ab7821c29d43c2817c4a50bd52e0a0b23eeb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 47446212832871e66f3b5fbf021c148eced2e24c (diff) |
perf pmu: List kernel supplied event aliases for arm64
In commit dc098b35b56f ("perf list: List kernel supplied event aliases"),
the aliases for events are supplied in addition to CPU event in perf list.
This relies on the name of the core PMU being "cpu", which is not the case
for arm64, so arm64 has always missed this. Use generic is_pmu_core()
helper which takes account of arm64 to make this feature work for arm64
(and possibly other archs).
Sample, before:
armv8_pmuv3_0/br_mis_pred/ [Kernel PMU event]
after:
br_mis_pred OR armv8_pmuv3_0/br_mis_pred/ [Kernel PMU event]
Signed-off-by: John Garry <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[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