Message ID | 1485779021-31936-2-git-send-email-maddy@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Hi Maddy, > +EVENT(PM_INST_DISP, 0x200f0) > +EVENT(PM_INST_DISP_ALT, 0x300f0) Are you sure these are the right events? 0x200f2, 0x300f2 should be instruction dispatch I think. Anton
On Wednesday 01 February 2017 04:30 PM, Anton Blanchard wrote: > Hi Maddy, > >> +EVENT(PM_INST_DISP, 0x200f0) >> +EVENT(PM_INST_DISP_ALT, 0x300f0) > Are you sure these are the right events? 0x200f2, 0x300f2 should be > instruction dispatch I think. Damn. This is bad. I looked at the wrong column. You are right 0x200f2 and 0x300f2 are the PM_INST_DISPL. Nice catch. Will fix it. Thanks Anton. Maddy > > Anton >
diff --git a/arch/powerpc/perf/power9-events-list.h b/arch/powerpc/perf/power9-events-list.h index 929b56d47ad9..8210b0d5bcd1 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, 0x200f0) +EVENT(PM_INST_DISP_ALT, 0x300f0)
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> --- arch/powerpc/perf/power9-events-list.h | 3 +++ 1 file changed, 3 insertions(+)