summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-02-12 22:33:11 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-17 21:48:52 +1100
commitac19670eb1798749121647bd9f0b403f52e31e6b (patch)
tree90cc5abe26ac5dcf631bddae0ef9c74e36bd94b2 /arch
parentefe881afdd9996ccbcd2a09c93b724f4ffc25991 (diff)
downloadlinux-stable-ac19670eb1798749121647bd9f0b403f52e31e6b.tar.gz
linux-stable-ac19670eb1798749121647bd9f0b403f52e31e6b.tar.bz2
linux-stable-ac19670eb1798749121647bd9f0b403f52e31e6b.zip
powerpc/perf: Add PM_INST_DISP event to Power9 event list
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/perf/power9-events-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/perf/power9-events-list.h b/arch/powerpc/perf/power9-events-list.h
index 929b56d47ad9..71a6bfee5c02 100644
--- a/arch/powerpc/perf/power9-events-list.h
+++ b/arch/powerpc/perf/power9-events-list.h
@@ -53,3 +53,6 @@ EVENT(PM_ITLB_MISS, 0x400fc)
EVENT(PM_RUN_INST_CMPL, 0x500fa)
/* Run_cycles */
EVENT(PM_RUN_CYC, 0x600f4)
+/* Instruction Dispatched */
+EVENT(PM_INST_DISP, 0x200f2)
+EVENT(PM_INST_DISP_ALT, 0x300f2)