commit | 356d8ce3d0a4a1d7c8448c4d234121736ad3d471 | [log] [tgz] |
---|---|---|
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | Sun Feb 12 22:33:14 2017 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Feb 17 21:48:54 2017 +1100 |
tree | 5f35c712ee9a717caae8fc863f1381cf3a440cc4 | |
parent | 8a088542c8f8d0bb458e4db2c01a2534f1adaf47 [diff] |
powerpc/perf: Use Instruction Counter value Since PM_INST_DISP include speculative instruction, based on the workload the dispatch count could vary considerably. Hence as an alternative, for completed instruction counting, program the PM_INST_DISP event to the MMCR* but use Instruction Counter register value. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>