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)
commit3f0bd8dad0db73f5d71b355aec5ab33b374260ba
treefc2e88152e4af97191bd36985cc934a7213af95d
parent20dd4c624d25156d5ec3345bbb690b98175ef879
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