Home
last modified time | relevance | path

Searched hist:"356 d8ce3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c356d8ce3 Sun Feb 12 11:03:14 CST 2017 Madhavan Srinivasan <maddy@linux.vnet.ibm.com> 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>
356d8ce3 Sun Feb 12 11:03:14 CST 2017 Madhavan Srinivasan <maddy@linux.vnet.ibm.com> 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>