Messages in this thread | | | Date | Tue, 24 Oct 2017 03:42:51 -0500 | From | Kim Phillips <> | Subject | Re: [PATCH v5 6/7] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension |
| |
On Mon, 2 Oct 2017 18:35:24 -0500 Kim Phillips <kim.phillips@arm.com> wrote:
> On Mon, 2 Oct 2017 13:49:30 -0300 > Arnaldo Carvalho de Melo <acme@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
| |