[RFC 0/3] powerpc/perf: Add json file support for hv_24x7 core level events
From: Kajol Jain
Date: Thu Jun 25 2020 - 07:47:55 EST
Patchset enhance current runtime parameter support. It introduces new
fields like "PerChip" and "PerCore" similar to the field "PerPkg" which is
used to specify perpkg events.
The "PerCore" and "PerChip" specifies whether its core or chip events.
Based on which we can decide which runtime parameter user want to
access. Now character '?' can refers different parameter based on user
requirement.
Kajol Jain (3):
perf jevents: Add support for parsing perchip/percore events
perf/tools: Pass pmu_event structure as a parameter for
arch_get_runtimeparam
perf/tools/pmu_events/powerpc: Add hv_24x7 core level metric events
tools/perf/arch/powerpc/util/header.c | 7 ++--
.../arch/powerpc/power9/nest_metrics.json | 15 ++++++--
tools/perf/pmu-events/jevents.c | 34 +++++++++++++++----
tools/perf/pmu-events/jevents.h | 3 +-
tools/perf/pmu-events/pmu-events.h | 2 ++
tools/perf/util/metricgroup.c | 5 ++-
tools/perf/util/metricgroup.h | 3 +-
7 files changed, 53 insertions(+), 16 deletions(-)
--
2.26.2