Messages in this thread | | | Subject | Re: [PATCH 0/2] arm64: perf: Expose Cortex-A53 micro architectural events | From | Robin Murphy <> | Date | Fri, 5 Apr 2019 10:36:20 +0100 |
| |
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(-) >
| |