"bus-cycles" perf event mapping
Hi,
Should PERF_COUNT_HW_BUS_CYCLES be mapped to ARMV8_PMUV3_PERFCTR_BUS_CYCLES or is there any specific reason for not doing so ?
ranga
Quoted 4 lines · ranganath ramachandra
Hi,
Should
PERF_COUNT_HW_BUS_CYCLESbe mapped toARMV8_PMUV3_PERFCTR_BUS_CYCLESor is there any specific reason for not doing so ?
I assume you're asknig about why it's not in armv8_pmuv3_perf_map?
We only list those events required by PMUv3, which are guaranteed to be implemented by any PMUv3 compliant implementation.
While 0x1D / BUS_CYCLES has been allocated a common event number, it is not required by PMUv3 and may not be implemented. In the latest ARM ARM (ARM DDI 0487A.g) you can find the required events listed in D5.10.6 "Required events".
Thanks,
Mark.