]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Use PM_INST_DISP for generic instructions sample
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Sun, 12 Feb 2017 17:03:13 +0000 (22:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 10:48:53 +0000 (21:48 +1100)
commita572084a1b46c881d8a54fa677379273bdd8310d
treebdadf0808c166621fa36338219b208f4c836b25d
parentd60c7b748e1369f67fefa35208978e791c6fb576
powerpc/perf: Use PM_INST_DISP for generic instructions sample

Since PM_INST_CMPL may not provide right counts in all
sampling scenarios in power9 DD1, instead use PM_INST_DISP.
Patch also update generic instruction sampling with the same.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/power9-pmu.c