perf vendors events arm64: Arm Cortex-A34
authorNick Forrington <nick.forrington@arm.com>
Fri, 20 May 2022 18:14:43 +0000 (19:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 May 2022 13:13:29 +0000 (10:13 -0300)
commitee2409510cf41556bd5d108711e08d0c6e9e8c23
treec7926c15d8f78308d461c3127fe68171f461d4f2
parentd8fc08550929bb845c13cfefcc632a69fcf79b2c
perf vendors events arm64: Arm Cortex-A34

Add PMU events for Arm Cortex-A34
Add corresponding common events
Update mapfile.csv

Event data based on:
https://github.com/ARM-software/data/tree/master/pmu/cortex-a34.json

which is based on PMU event descriptions from the Arm Cortex-A34 Technical
Reference Manual.

Common event data based on:
https://github.com/ARM-software/data/blob/master/pmu/common_armv9.json

which is based on PMU event descriptions found in the Arm Architecture
Reference Manual:
https://developer.arm.com/documentation/ddi0487/

Mapping data (for mapfile.csv) based on:
https://github.com/ARM-software/data/blob/master/cpus.json

which is based on Main ID Register (MIDR) information found in the Arm
Technical Reference Manuals for individual CPUs.

Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Nick Forrington <nick.forrington@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Andrew Kilroy <andrew.kilroy@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20220520181455.340344-2-nick.forrington@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/branch.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/bus.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/cache.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/exception.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/instruction.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/arm/cortex-a34/memory.json [new file with mode: 0644]
tools/perf/pmu-events/arch/arm64/common-and-microarch.json
tools/perf/pmu-events/arch/arm64/mapfile.csv