mbox series

[v2,0/2] perf mem: Support multiple Arm SPE PMUs

Message ID 20240706152035.86983-1-leo.yan@arm.com (mailing list archive)
Headers show
Series perf mem: Support multiple Arm SPE PMUs | expand

Message

Leo Yan July 6, 2024, 3:20 p.m. UTC
This patch series is to enable multiple Arm SPE PMUs.

The patch 01 is to enable multiple Arm SPE PMUs. The second patch is to
print out warning if not all CPUs support memory events, this can give
users a hint that the memory profiling is absent on some CPUs.

Changes from v1:
- Changed to use strstarts() (Ian Rogers)
- Changed to use 'arm_spe_' for searching Arm SPE events (Namhyung Kim)


Leo Yan (2):
  perf arm-spe: Support multiple Arm SPE PMUs
  perf mem: Warn if memory events are not supported on all CPUs

 tools/perf/arch/arm/util/pmu.c |  2 +-
 tools/perf/util/mem-events.c   | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

Comments

Namhyung Kim July 12, 2024, 4:46 p.m. UTC | #1
On Sat, 06 Jul 2024 16:20:33 +0100, Leo Yan wrote:

> This patch series is to enable multiple Arm SPE PMUs.
> 
> The patch 01 is to enable multiple Arm SPE PMUs. The second patch is to
> print out warning if not all CPUs support memory events, this can give
> users a hint that the memory profiling is absent on some CPUs.
> 
> Changes from v1:
> - Changed to use strstarts() (Ian Rogers)
> - Changed to use 'arm_spe_' for searching Arm SPE events (Namhyung Kim)
> 
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung