Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-28 Thread Mark Rutland
On Tue, Oct 27, 2015 at 05:32:38PM +, Will Deacon wrote: > On Thu, Oct 22, 2015 at 07:05:58AM -0700, Drew Richardson wrote: > > On Fri, Oct 09, 2015 at 03:13:38AM -0700, Will Deacon wrote: > > > Also, would you be able to do something similar for AArch64 too, please? > > > (take a look at our f

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-27 Thread Will Deacon
On Thu, Oct 22, 2015 at 07:05:58AM -0700, Drew Richardson wrote: > On Fri, Oct 09, 2015 at 03:13:38AM -0700, Will Deacon wrote: > > Also, would you be able to do something similar for AArch64 too, please? > > (take a look at our for-next/core branch for the latest perf changes). > > Here are some

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-22 Thread Drew Richardson
On Fri, Oct 09, 2015 at 03:13:38AM -0700, Will Deacon wrote: > Also, would you be able to do something similar for AArch64 too, please? > (take a look at our for-next/core branch for the latest perf changes). Here are some almost identical patches for AArch64 based on arm64 tree's for-next/core br

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-13 Thread Will Deacon
On Mon, Oct 12, 2015 at 11:10:38AM -0700, Drew Richardson wrote: > On Mon, Oct 12, 2015 at 03:30:25PM +0100, Will Deacon wrote: > > I think this looks much better, thanks. The only thing left to do is > > re-use some of the existing event descriptions from the enum > > armv7_perf_types that we have

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-12 Thread Drew Richardson
On Mon, Oct 12, 2015 at 03:30:25PM +0100, Will Deacon wrote: > I think this looks much better, thanks. The only thing left to do is > re-use some of the existing event descriptions from the enum > armv7_perf_types that we have at the top of the file, rather than > duplicate the event -> ID mapping.

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-12 Thread Will Deacon
On Fri, Oct 09, 2015 at 09:53:32AM -0700, Drew Richardson wrote: > On Fri, Oct 09, 2015 at 11:13:38AM +0100, Will Deacon wrote: > > On Wed, Oct 07, 2015 at 11:28:18AM -0700, Drew Richardson wrote: > > > diff --git a/arch/arm/kernel/perf_event_v7.c > > > b/arch/arm/kernel/perf_event_v7.c > > > inde

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-09 Thread Drew Richardson
On Fri, Oct 09, 2015 at 11:13:38AM +0100, Will Deacon wrote: > On Wed, Oct 07, 2015 at 11:28:18AM -0700, Drew Richardson wrote: > > Add additional information about the ARM architected hardware events > > to make counters self describing. This makes the hardware PMUs easier > > to use as perf list

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-09 Thread Will Deacon
On Wed, Oct 07, 2015 at 11:28:18AM -0700, Drew Richardson wrote: > Add additional information about the ARM architected hardware events > to make counters self describing. This makes the hardware PMUs easier > to use as perf list contains possible events instead of users having > to refer to docume

[PATCHv2] arm: perf: Add event descriptions

2015-10-07 Thread Drew Richardson
Add additional information about the ARM architected hardware events to make counters self describing. This makes the hardware PMUs easier to use as perf list contains possible events instead of users having to refer to documentation like the ARM TRMs. Signed-off-by: Drew Richardson --- arch/arm