Skip to content

perf vendor events arm64: Some tidy-up/refactoring

John Garry linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf vendor events arm64: Fix Ampere eMag event typotools/perf/pmu-events/arch/arm64/ampere/emag/cache.json+1 -10 replies
2/4perf vendor events arm64: Add common and uarch event JSONtools/perf/pmu-events/arch/arm64/armv8-common-and-microarch.json+248 -00 replies
3/4perf vendor events arm64: Reference common and uarch events for Ampere eMagtools/perf/pmu-events/arch/arm64/ampere/emag/branch.json tools/perf/pmu-events/arch/arm64/ampere/emag/bus.json tools/perf/pmu-events/arch/arm64/ampere/emag/cache.json +4 more+31 -970 replies
4/4perf vendor events arm64: Reference common and uarch events for A76tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/bus.json tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/cache.json +5 more+76 -1500 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWill Deacon
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] perf vendor events arm64: Some tidy-up/refactoring

There is much event duplication in the common and uarch events for A76 and Ampere eMag support, so factor out into a common JSON.

Since the wording for events may differ between CPU datasheet and the architecture reference manual, the current wording is kept. This is unless there are minor differences. In addition, event names are renamed to be same as architecture reference manual, to keep commonality.

Also a minor fix is included for the Ampere eMag JSON.

Differences to v1:
- tidy some ',' misplaced

John Garry (4):
perf vendor events arm64: Fix Ampere eMag event typo
perf vendor events arm64: Add common and uarch event JSON perf vendor events arm64: Reference common and uarch events for Ampere
eMag
perf vendor events arm64: Reference common and uarch events for A76

 .../arch/arm64/ampere/emag/branch.json        |   8 +-
 .../arch/arm64/ampere/emag/bus.json           |   5 +-
 .../arch/arm64/ampere/emag/cache.json         |  58 +---
 .../arch/arm64/ampere/emag/clock.json         |   4 +-
 .../arch/arm64/ampere/emag/exception.json     |  10 +-
 .../arch/arm64/ampere/emag/instruction.json   |  34 +--
 .../arch/arm64/ampere/emag/memory.json        |  11 +-
 .../arch/arm64/arm/cortex-a76-n1/branch.json  |  12 +-
 .../arch/arm64/arm/cortex-a76-n1/bus.json     |  19 +-
 .../arch/arm64/arm/cortex-a76-n1/cache.json   | 118 +++------
 .../arm64/arm/cortex-a76-n1/exception.json    |  10 +-
 .../arm64/arm/cortex-a76-n1/instruction.json  |  45 +---
 .../arch/arm64/arm/cortex-a76-n1/memory.json  |   6 +-
 .../arch/arm64/arm/cortex-a76-n1/other.json   |   4 +-
 .../arm64/arm/cortex-a76-n1/pipeline.json     |  12 +-
 .../arm64/armv8-common-and-microarch.json     | 248 ++++++++++++++++++
 16 files changed, 356 insertions(+), 248 deletions(-)
 create mode 100644 tools/perf/pmu-events/arch/arm64/armv8-common-and-microarch.json
Signature · 7 lines
2.26.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel