Add Support for HiSilicon CPA PMU, including PMU driver and json
file in perf tool.
Change since v1:
- Address the comments from John.
- Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/
Qi Liu (2):
drivers/perf: hisi: Add Support for CPA PMU
perf jevents: Add support for HiSilicon CPA PMU aliasing
drivers/perf/hisilicon/Makefile | 2 +-
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c | 401 ++++++++++++++++++
include/linux/cpuhotplug.h | 1 +
.../arm64/hisilicon/hip09/sys/uncore-cpa.json | 81 ++++
tools/perf/pmu-events/jevents.c | 1 +
5 files changed, 485 insertions(+), 1 deletion(-)
create mode 100644 drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c
create mode 100644 tools/perf/pmu-events/arch/arm64/hisilicon/hip09/sys/uncore-cpa.json
--
2.24.0