]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8a088542c8f8d0bb458e4db2c01a2534f1adaf47
treebdadf0808c166621fa36338219b208f4c836b25d
parenta114aca57a59cd92189bf3795ac082a5e8fac0f1
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