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

From: Namhyung Kim
Date: Wed May 27 2015 - 10:01:08 EST


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 <sukadev@xxxxxxxxxxxxxxxxxx>
> ---

[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.,"
> + },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/