On Mon, 2 Oct 2017 18:35:24 -0500 Kim Phillips <kim.phill...@arm.com> wrote:
> On Mon, 2 Oct 2017 13:49:30 -0300 > Arnaldo Carvalho de Melo <a...@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