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

Leo Yan posted 2 patches 1 year, 5 months ago
tools/perf/arch/arm/util/pmu.c |  2 +-
tools/perf/util/mem-events.c   | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
[PATCH v2 0/2] perf mem: Support multiple Arm SPE PMUs
Posted by Leo Yan 1 year, 5 months ago
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(-)

-- 
2.34.1
Re: [PATCH v2 0/2] perf mem: Support multiple Arm SPE PMUs
Posted by Namhyung Kim 1 year, 5 months ago
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