lkml.org 
[lkml]   [2020]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] arm64: perf: add support for Cortex-A55/A75/A76
Hi Will,

On Fri, 3 Jul 2020 13:33:47 +0100 Will Deacon wrote:

>
>
> On Fri, Jun 19, 2020 at 06:44:37PM +0800, Jisheng Zhang wrote:
> > The Cortex-A55/A75/A76 use some implementation defined perf events.
> > Add the support.
> >
> > Jisheng Zhang (3):
> > arm64: perf: add support for Cortex-A55
> > arm64: perf: add support for Cortex-A75
> > arm64: perf: add support for Cortex-A76
> >
> > arch/arm64/kernel/perf_event.c | 49 +++++++++++++++++++++++++++++++---
> > 1 file changed, 45 insertions(+), 4 deletions(-)
>
> Do we really need this? I'd prefer for this stuff to live in userspace

IMHO, this stuff is to add a relationship between linux standard
HW events and ARM PMU events, take CA55 for example:

w/o the stuff, perf -e PREFETCH_LINEFILL

w/ the stuff, perf -e L1-dcache-prefetch-misses

But indeed, we also need to add json descriptions in perf tool, I'll submit
patches.

Thanks

> now that the perf tool has supported JSON event descriptions for a while,
> and the in-kernel driver advertises the architected events advertised
> by PMCEID*.
>
> Will

\
 
 \ /
  Last update: 2020-07-06 10:06    [W:0.071 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site