[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171017212812.GT5109@tassilo.jf.intel.com>
Date: Tue, 17 Oct 2017 14:28:12 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: "Liang, Kan" <kan.liang@...el.com>
Cc: Stephane Eranian <eranian@...gle.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
"mingo@...hat.com" <mingo@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Jiri Olsa <jolsa@...nel.org>,
"Williams, Dan J" <dan.j.williams@...el.com>
Subject: Re: [PATCH] perf script: add script to profile and resolve physical
mem type
On Tue, Oct 17, 2017 at 09:10:16PM +0000, Liang, Kan wrote:
> > >
> > > 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.
You can just try the common variations, or grep them in perf list output.
-Andi
Powered by blists - more mailing lists