Re: [PATCH 05/11] perf, tools: Add support for reading JSON event files

2014-07-18 Thread Andi Kleen
> On powerpc our event names are always uppercase, it would be nice if the perf > list output honoured that. > > Can we instead just honour whatever case is in the input JSON ? Intel events are upper case too. However perf is not into shouting in general, so I chose to lower everything. > > It

Re: [PATCH 05/11] perf, tools: Add support for reading JSON event files

2014-07-17 Thread Michael Ellerman
On Fri, 2014-07-11 at 16:59 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a parser for Intel style JSON event files. This allows > to use an Intel event list directly with perf. The Intel > event lists can be quite large and are too big to store > in unswappable kernel memory. ... > diff

[PATCH 05/11] perf, tools: Add support for reading JSON event files

2014-07-11 Thread Andi Kleen
From: Andi Kleen Add a parser for Intel style JSON event files. This allows to use an Intel event list directly with perf. The Intel event lists can be quite large and are too big to store in unswappable kernel memory. The parser code knows how to convert the JSON fields to perf fields. The conv