RE: [PATCH] perf script: add script to profile and resolve physical mem type
From: Liang, Kan
Date: Tue Oct 17 2017 - 17:10:25 EST
> >
> > Right, it doesnât need load latency. 0x81d0 should be a better choice.
> > I will use 0x81d0 and 0x82d0 as default event for V2.
>
> That's model specific. You would need to check the model number if you do
> that.
>
> Also with modern perf you can use the correct event names of course.
The event names are model specific as well.
For Mem load events,
MEM_INST_RETIRED.ALL_LOADS is the event name for skylake.
MEM_UOPS_RETIRED.ALL_LOADS is the event name for the rest of platforms.
I think it still need to check the model number.
Thanks,
Kan