Re: [PATCH v2 0/2] perf PMU events test: Add scenario for arch std events

From: Arnaldo Carvalho de Melo
Date: Tue Oct 27 2020 - 12:34:38 EST


Em Thu, Oct 22, 2020 at 07:02:25PM +0800, John Garry escreveu:
> 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

Thanks, applied both together with Kajol's Reviewed-by tags.

- Arnaldo

> 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
>

--

- Arnaldo