]> 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)
commitb31899114185a755c140a8dec95bf0f08f3b1c59
treebdadf0808c166621fa36338219b208f4c836b25d
parent34f37e0cb39c1cb85d9d0285119fea7cdad3f9f5
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