[PATCH] arm: perf: Add event descriptions
Will Deacon
will.deacon at arm.com
Wed Aug 26 09:51:49 PDT 2015
On Mon, Aug 17, 2015 at 09:58:09PM +0100, Drew Richardson wrote:
> On Tue, Aug 04, 2015 at 01:15:23AM +0100, Drew Richardson wrote:
> > Add additional information about hardware events to make counters self
> > describing. This makes the hardware PMUs easier to use as perf list
> > contains the possible events instead of users having to refer to
> > documentation like the ARM TRMs. This could also allow tools like
> > oprofile to support PMUs without requiring an update.
> >
> > Signed-off-by: Drew Richardson <drew.richardson at arm.com>
> > ---
> > arch/arm/kernel/perf_event.c | 1 +
> > arch/arm/kernel/perf_event_v7.c | 617 ++++++++++++++++++++++++++++++++++++++++
> > 2 files changed, 618 insertions(+)
>
> Any concerns with merging this?
We should revisit this after the merge window (since the ARM perf code is
moving out to drivers/), but I do have reservations about putting all these
strings into the kernel. Why can't we put this into something like libpfm
instead?
Will
More information about the linux-arm-kernel
mailing list