]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Add POWER9 alternate PM_RUN_CYC and PM_RUN_INST_CMPL events
authorAnton Blanchard <anton@samba.org>
Sun, 18 Jun 2017 23:51:28 +0000 (09:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 12 Jul 2017 02:21:49 +0000 (12:21 +1000)
commit3f9cf4f72f96d34bc454472cfe7bc622670cf025
treefc2e88152e4af97191bd36985cc934a7213af95d
parent874dfda6dce966ad6b72a907d9d66055ce07a48f
powerpc/perf: Add POWER9 alternate PM_RUN_CYC and PM_RUN_INST_CMPL events

Similar to POWER8, POWER9 can count run cycles and run instructions
completed on more than one PMU.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/power9-events-list.h
arch/powerpc/perf/power9-pmu.c