All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] perf vendor events: Arm Neoverse N2
@ 2021-12-10 12:37 ` Andrew Kilroy
  0 siblings, 0 replies; 55+ messages in thread
From: Andrew Kilroy @ 2021-12-10 12:37 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users, acme
  Cc: Andrew Kilroy, John Garry, Will Deacon, Mathieu Poirier, Leo Yan,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	linux-arm-kernel

This patch series adds the ability for perf to recognise the Arm
Neoverse N2 core and what counters are available.

The first patch adds the new counters to the common and microarch json
file (because they can also exist in other ArmV8 and ArmV9 cpus) Files
are also added to pmu-events/arch/arm64/arm/neoverse-n2 so that 'perf list'
categorises the counters.

The second patch renames armv8-common-and-microarch.json and
armv8-recommended.json, removing the armv8 prefix to reflect that
they can include counters for armv9.

Changes in v2:
 - Addition of a cover letter
 - Small changes in commit messages
 - Omission of a patch reformatting whitespace that was
   applied by Arnaldo

Previous version:
  https://lore.kernel.org/lkml/20211203123525.31127-1-andrew.kilroy@arm.com/

Andrew Kilroy (2):
  perf vendor events: For the Arm Neoverse N2
  perf vendor events: Rename arm64 arch std event files

 .../arch/arm64/arm/neoverse-n2/branch.json    |   8 +
 .../arch/arm64/arm/neoverse-n2/bus.json       |  20 ++
 .../arch/arm64/arm/neoverse-n2/cache.json     | 155 ++++++++++++++
 .../arch/arm64/arm/neoverse-n2/exception.json |  47 +++++
 .../arm64/arm/neoverse-n2/instruction.json    | 143 +++++++++++++
 .../arch/arm64/arm/neoverse-n2/memory.json    |  38 ++++
 .../arch/arm64/arm/neoverse-n2/other.json     |   5 +
 .../arch/arm64/arm/neoverse-n2/pipeline.json  |  23 ++
 .../arch/arm64/arm/neoverse-n2/spe.json       |  14 ++
 .../arch/arm64/arm/neoverse-n2/trace.json     |  29 +++
 ...croarch.json => common-and-microarch.json} | 198 ++++++++++++++++++
 tools/perf/pmu-events/arch/arm64/mapfile.csv  |   1 +
 ...rmv8-recommended.json => recommended.json} |   0
 13 files changed, 681 insertions(+)
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/branch.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/bus.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/cache.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/exception.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/instruction.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/memory.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/other.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/pipeline.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/spe.json
 create mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/trace.json
 rename tools/perf/pmu-events/arch/arm64/{armv8-common-and-microarch.json => common-and-microarch.json} (76%)
 rename tools/perf/pmu-events/arch/arm64/{armv8-recommended.json => recommended.json} (100%)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2022-02-08 15:59 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 12:37 [PATCH v2 0/2] perf vendor events: Arm Neoverse N2 Andrew Kilroy
2021-12-10 12:37 ` Andrew Kilroy
2021-12-10 12:37 ` [PATCH v2 1/2] perf vendor events: For the " Andrew Kilroy
2021-12-10 12:37   ` Andrew Kilroy
2021-12-10 13:21   ` John Garry
2021-12-10 13:21     ` John Garry
2021-12-14 18:42     ` [RFC PATCH 0/1] topdown with metrics Andrew Kilroy
2021-12-14 18:42       ` Andrew Kilroy
2021-12-14 18:42       ` [RFC PATCH 1/1] perf arm64: Implement --topdown " Andrew Kilroy
2021-12-14 18:42         ` Andrew Kilroy
2021-12-14 20:32         ` Ian Rogers
2021-12-14 20:32           ` Ian Rogers
2021-12-15 10:38           ` James Clark
2021-12-15 10:38             ` James Clark
2021-12-15 10:52           ` John Garry
2021-12-15 10:52             ` John Garry
2021-12-15 12:38             ` Andrew Kilroy
2021-12-15 12:38               ` Andrew Kilroy
2021-12-15 12:53               ` John Garry
2021-12-15 12:53                 ` John Garry
2022-01-06 16:33                 ` Andrew Kilroy
2022-01-06 16:33                   ` Andrew Kilroy
2022-01-06 18:24                   ` John Garry
2022-01-06 18:24                     ` John Garry
2022-01-11 15:07                     ` [RFC PATCH v2 0/5] topdown " Andrew Kilroy
2022-01-11 15:07                       ` [RFC PATCH v2 1/5] perf stat: Implement --topdown " Andrew Kilroy
2022-01-28 13:44                         ` John Garry
2022-01-11 15:07                       ` [RFC PATCH v2 2/5] perf stat: Topdown kernel events setup function Andrew Kilroy
2022-01-11 15:07                       ` [RFC PATCH v2 3/5] perf stat: Topdown json metrics " Andrew Kilroy
2022-01-11 15:07                       ` [RFC PATCH v2 4/5] perf stat: Detect if topdown kernel events supported Andrew Kilroy
2022-01-11 15:07                       ` [RFC PATCH v2 5/5] perf stat: Ensure only topdown kernel events used on x86 Andrew Kilroy
2022-01-20  9:26                       ` [RFC PATCH v2 0/5] topdown with metrics John Garry
2022-01-20 16:22                         ` Al Grant
2022-01-27 11:42                         ` Andrew Kilroy
2022-02-08 15:58                           ` Andrew Kilroy
2021-12-20 17:21             ` [RFC PATCH 1/1] perf arm64: Implement --topdown " Andrew Kilroy
2021-12-20 17:21               ` Andrew Kilroy
2021-12-21 14:03               ` Andi Kleen
2021-12-21 14:03                 ` Andi Kleen
2022-01-27 11:11                 ` Andrew Kilroy
2022-01-27 11:11                   ` Andrew Kilroy
2021-12-17 10:19         ` John Garry
2021-12-17 10:19           ` John Garry
2021-12-21 14:31           ` Andrew Kilroy
2021-12-21 14:31             ` Andrew Kilroy
2022-01-05 16:58           ` Andrew Kilroy
2022-01-05 16:58             ` Andrew Kilroy
2022-01-28 18:00             ` John Garry
2022-01-28 18:00               ` John Garry
2021-12-10 12:37 ` [PATCH v2 2/2] perf vendor events: Rename arm64 arch std event files Andrew Kilroy
2021-12-10 12:37   ` Andrew Kilroy
2021-12-10 13:46   ` John Garry
2021-12-10 13:46     ` John Garry
2021-12-10 19:01     ` Arnaldo Carvalho de Melo
2021-12-10 19:01       ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.