[PATCH v2 0/2] perf PMU events test: Add scenario for arch std events
From: John Garry
Date: Thu Oct 22 2020 - 07:06:11 EST
The small series covers the following:
- Tidy error handling in jevents a bit
- Expands on PMU events test to cover jevents arch std events support
Differences to v1:
- Revert to original logic in jevents.c error path
John Garry (2):
perf jevents: Tidy error handling
perf jevents: Add test for arch std events
.../pmu-events/arch/test/arch-std-events.json | 8 ++
.../pmu-events/arch/test/test_cpu/cache.json | 5 ++
tools/perf/pmu-events/jevents.c | 87 +++++++++----------
tools/perf/tests/pmu-events.c | 14 +++
4 files changed, 66 insertions(+), 48 deletions(-)
create mode 100644 tools/perf/pmu-events/arch/test/arch-std-events.json
create mode 100644 tools/perf/pmu-events/arch/test/test_cpu/cache.json
--
2.26.2