Re: [PATCH 0/2] arm64: perf: Expose Cortex-A53 micro architectural events

From: Robin Murphy
Date: Fri Apr 05 2019 - 05:36:30 EST


Hi Florian,

On 05/04/2019 00:25, Florian Fainelli wrote:
Hi all,

This patch series adds support for the Cortex-A53 micro architectural
events that I recently had to use for some debugging exercise.

Events from 0xC0 - 0xD2 are exposed, others could easily be added later
if we wanted to.

As far as I'm aware (which admittedly is not all-the-way far) these events should already be understood by userspace, per tools/perf/pmu-events/arch/arm64/arm/cortex-a53/* - is there a specific reason to need in-kernel definitions?

Robin.


Thanks!

Florian Fainelli (2):
arm64: perf: Group common ARMv8 v3 PMU events in a macro
arm64: perf: Expose Cortex-A53 micro architectural events

arch/arm64/kernel/perf_event.c | 241 ++++++++++++++++++++++++---------
1 file changed, 179 insertions(+), 62 deletions(-)