Re: [PATCH 4/4] perf: Add power8 PMU events in JSON format
From: Namhyung Kim <namhyung@kernel.org>
Date: 2015-05-27 14:01:04
Also in:
lkml
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 aliases for PMU events. This in turn would allow users to specify these PMU events by name: $ perf stat -e pm_1plus_ppc_cmpl sleep 1 Signed-off-by: Sukadev Bhattiprolu <redacted> ---
[SNIP]
+ {
+ "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 less than current instruction address.,"Can't we remove PublicDescription field if it's identical to BriefDescription? It seems just wasting spaces.. Thanks, Namhyung
+ },
+ {
+ "EventCode": "0x4082",
+ "EventName": "PM_BANK_CONFLICT",
+ "BriefDescription": "Read blocked due to interleave conflict. The ifar logic will detect an interleave conflict and kill the data that was read that cycle.,",
+ "PublicDescription": "Read blocked due to interleave conflict. The ifar logic will detect an interleave conflict and kill the data that was read that cycle.,"
+ },
+ {
+ "EventCode": "0x10068",
+ "EventName": "PM_BRU_FIN",
+ "BriefDescription": "Branch Instruction Finished,",
+ "PublicDescription": "Branch Instruction Finished .,"
+ },
+ {
+ "EventCode": "0x20036",
+ "EventName": "PM_BR_2PATH",
+ "BriefDescription": "two path branch,",
+ "PublicDescription": "two path branch.,"
+ },
+ {
+ "EventCode": "0x5086",
+ "EventName": "PM_BR_BC_8",
+ "BriefDescription": "Pairable BC+8 branch that has not been converted to a Resolve Finished in the BRU pipeline,",
+ "PublicDescription": "Pairable BC+8 branch that has not been converted to a Resolve Finished in the BRU pipeline,"
+ },
+ {
+ "EventCode": "0x5084",
+ "EventName": "PM_BR_BC_8_CONV",
+ "BriefDescription": "Pairable BC+8 branch that was converted to a Resolve Finished in the BRU pipeline.,",
+ "PublicDescription": "Pairable BC+8 branch that was converted to a Resolve Finished in the BRU pipeline.,"
+ },