[PATCH v5 6/7] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

Kim Phillips kim.phillips at arm.com
Tue Oct 24 01:42:51 PDT 2017


On Mon, 2 Oct 2017 18:35:24 -0500
Kim Phillips <kim.phillips at arm.com> wrote:

> On Mon, 2 Oct 2017 13:49:30 -0300
> Arnaldo Carvalho de Melo <acme at redhat.com> wrote:
> > I'm all for more informative messages, and if you guys agree on how to
> > provide the info in a way that combined with logic in evsel.c, I'd say
> > do what Will suggested, post a patch series and include usage examples,
> > before and after.
> 
> I'll figure out how to get the PMU in evsel.c's strerror fn, and give it
> another shot.  I don't think it'll be a big problem for the SPE driver
> itself, it's just some of the other drivers have long lists of reasons
> to return -EXXXX, and I don't think evsel.c's strerror fn should be
> able to handle all that.

See this example for the arm-ccn driver:

http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/538924.html

Please follow up on that thread.

Thanks,

Kim



More information about the linux-arm-kernel mailing list