[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171024034251.81e01386b8074683a40d31e1@arm.com>
Date: Tue, 24 Oct 2017 03:42:51 -0500
From: Kim Phillips <kim.phillips@....com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Will Deacon <will.deacon@....com>,
<linux-arm-kernel@...ts.infradead.org>, <marc.zyngier@....com>,
<mark.rutland@....com>, <tglx@...utronix.de>,
<peterz@...radead.org>, <alexander.shishkin@...ux.intel.com>,
<robh@...nel.org>, <suzuki.poulose@....com>, <pawel.moll@....com>,
<mathieu.poirier@...aro.org>, <mingo@...hat.com>,
<linux-kernel@...r.kernel.org>
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@....com> wrote:
> On Mon, 2 Oct 2017 13:49:30 -0300
> Arnaldo Carvalho de Melo <acme@...hat.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
Powered by blists - more mailing lists