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

From: Jiri Olsa
Date: Fri Apr 05 2019 - 08:36:24 EST


On Fri, Apr 05, 2019 at 10:36:20AM +0100, Robin Murphy wrote:
> 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?

right, we store events in perf tools in json files, please
check commits changelogs under tools/perf/pmu-events/arch

jirka