Re: [PATCH 2/5] powerpc/perf: Add PM_INST_DISP event to Power9 event list
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
Re: [PATCH 2/5] powerpc/perf: Add PM_INST_DISP event to Power9 event list
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
[PATCH 2/5] powerpc/perf: Add PM_INST_DISP event to Power9 event list
Signed-off-by: Madhavan Srinivasan--- arch/powerpc/perf/power9-events-list.h | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.7.4