Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-05 Thread Liang, Kan
On 2/5/2021 10:26 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Feb 05, 2021 at 09:13:34AM -0500, Liang, Kan escreveu: On 2/5/2021 5:52 AM, Namhyung Kim wrote: On Wed, Feb 3, 2021 at 5:14 AM wrote: From: Kan Liang On the Intel Sapphire Rapids server, an auxiliary event has to be

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-05 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 05, 2021 at 09:13:34AM -0500, Liang, Kan escreveu: > > > On 2/5/2021 5:52 AM, Namhyung Kim wrote: > > On Wed, Feb 3, 2021 at 5:14 AM wrote: > > > > > > From: Kan Liang > > > > > > On the Intel Sapphire Rapids server, an auxiliary event has to be > > > enabled simultaneously with

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-05 Thread Liang, Kan
On 2/5/2021 5:52 AM, Namhyung Kim wrote: On Wed, Feb 3, 2021 at 5:14 AM wrote: From: Kan Liang On the Intel Sapphire Rapids server, an auxiliary event has to be enabled simultaneously with the load latency event to retrieve complete Memory Info. Add X86 specific perf_mem_events__name()

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-05 Thread Namhyung Kim
On Wed, Feb 3, 2021 at 5:14 AM wrote: > > From: Kan Liang > > On the Intel Sapphire Rapids server, an auxiliary event has to be > enabled simultaneously with the load latency event to retrieve complete > Memory Info. > > Add X86 specific perf_mem_events__name() to handle the auxiliary event. > -

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-03 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 03, 2021 at 04:20:38PM -0500, Liang, Kan escreveu: > > > On 2/3/2021 3:02 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Feb 02, 2021 at 12:09:06PM -0800,kan.li...@linux.intel.com > > escreveu: > > > From: Kan Liang > > > diff --git a/tools/perf/util/evsel.c

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-03 Thread Liang, Kan
On 2/3/2021 3:02 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Feb 02, 2021 at 12:09:06PM -0800,kan.li...@linux.intel.com escreveu: From: Kan Liang diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index c26ea822..c48f6de 100644 --- a/tools/perf/util/evsel.c +++

Re: [PATCH 2/9] perf tools: Support the auxiliary event

2021-02-03 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 02, 2021 at 12:09:06PM -0800, kan.li...@linux.intel.com escreveu: > From: Kan Liang > diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c > index c26ea822..c48f6de 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -2689,6 +2689,9 @@ int

[PATCH 2/9] perf tools: Support the auxiliary event

2021-02-02 Thread kan . liang
From: Kan Liang On the Intel Sapphire Rapids server, an auxiliary event has to be enabled simultaneously with the load latency event to retrieve complete Memory Info. Add X86 specific perf_mem_events__name() to handle the auxiliary event. - Users are only interested in the samples of the