Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format

2015-05-27 Thread Sukadev Bhattiprolu
Andi Kleen [a...@linux.intel.com] wrote: | > I know. What I said is make it optional so that we can drop if it's identical. | | Should be easy enough. It's already optional in the jevents parser. I have removed the duplicated entries in power8.json.

Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format

2015-05-27 Thread Andi Kleen
On Thu, May 28, 2015 at 12:01:31AM +0900, Namhyung Kim wrote: > On Wed, May 27, 2015 at 11:41 PM, Andi Kleen wrote: > >> > + { > >> > +"EventCode": "0x2505e", > >> > +"EventName": "PM_BACK_BR_CMPL", > >> > +"BriefDescription": "Branch instruction completed with a target > >> > addres

Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format

2015-05-27 Thread Namhyung Kim
On Wed, May 27, 2015 at 11:41 PM, Andi Kleen wrote: >> > + { >> > +"EventCode": "0x2505e", >> > +"EventName": "PM_BACK_BR_CMPL", >> > +"BriefDescription": "Branch instruction completed with a target >> > address less than current instruction address,", >> > +"PublicDescription":

Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format

2015-05-27 Thread Andi Kleen
> > + { > > +"EventCode": "0x2505e", > > +"EventName": "PM_BACK_BR_CMPL", > > +"BriefDescription": "Branch instruction completed with a target > > address less than current instruction address,", > > +"PublicDescription": "Branch instruction completed with a target > > address le

Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format

2015-05-27 Thread Namhyung Kim
On Tue, May 19, 2015 at 05:02:10PM -0700, Sukadev Bhattiprolu wrote: > The power8.json and 004d0100.json files describe the PMU events in the > Power8 processor. > > The jevents program from the prior patches will use these JSON files > to create tables which will then be used in perf to build ali