Re: [PATCH] perf vendor events: Add Arm Neoverse V2 PMU events

From: John Garry
Date: Fri Oct 21 2022 - 06:47:31 EST


On 20/10/2022 14:45, James Clark wrote:
Rename the neoverse-n2 folder to make it clear that it includes V2, and
add V2 to mapfile.csv. V2 has the same events as N2, visible by running
the following command in the ARM-software/data github repo [1]:

diff pmu/neoverse-v2.json pmu/neoverse-n2.json | grep code

Testing:

$ perf test pmu

10: PMU events :
10.1: PMU event table sanity : Ok
10.2: PMU event map aliases : Ok
10.3: Parsing of PMU event table metrics : Ok
10.4: Parsing of PMU event table metrics with fake PMUs : Ok

[1]:https://github.com/ARM-software/data

Signed-off-by: James Clark<james.clark@xxxxxxx>
---

This looks ok. Out of curiosity, do you know how the naming works for these neoverse cores? Were "n" a predecessor to "v"?

thanks,
John