[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP-5=fW8zLRgxXgY-CFUnU0HiiZMKhJ6b1znMxT8WeLO5Z-wZA@mail.gmail.com>
Date: Thu, 3 Sep 2020 22:48:15 -0700
From: Ian Rogers <irogers@...gle.com>
To: Kim Phillips <kim.phillips@....com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Vijay Thakkar <vijaythakkar@...com>,
Andi Kleen <ak@...ux.intel.com>,
John Garry <john.garry@...wei.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Yunfeng Ye <yeyunfeng@...wei.com>,
Jin Yao <yao.jin@...ux.intel.com>,
Martin Liška <mliska@...e.cz>,
Borislav Petkov <bp@...e.de>, Jon Grimm <jon.grimm@....com>,
Martin Jambor <mjambor@...e.cz>,
Michael Petlan <mpetlan@...hat.com>,
William Cohen <wcohen@...hat.com>,
Stephane Eranian <eranian@...gle.com>,
linux-perf-users <linux-perf-users@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/4] perf vendor events amd: Add recommended events
On Thu, Sep 3, 2020 at 11:27 AM Kim Phillips <kim.phillips@....com> wrote:
>
> On 9/3/20 1:19 AM, Ian Rogers wrote:
> > On Tue, Sep 1, 2020 at 3:10 PM Kim Phillips <kim.phillips@....com> wrote:
> >> The nps1_die_to_dram event may need perf stat's --metric-no-group
> >> switch if the number of available data fabric counters is less
> >> than the number it uses (8).
> >
> > These are really excellent additions! Does:
> > "MetricConstraint": "NO_NMI_WATCHDOG"
> > solve the grouping issue? Perhaps the MetricConstraint needs to be
> > named more generically to cover this case as it seems sub-optimal to
> > require the use of --metric-no-group.
>
> That metric uses data fabric (DFPMC/amd_df) events, not Core PMC
> events, which the watchdog uses, so NO_NMI_WATCHDOG wouldn't have
> an effect. The event is defined as an approximation anyway.
>
> I'll have to get back to you on the other items.
>
> Thanks for your review!
NP, more nits than anything else.
Acked-by: Ian Rogers <irogers@...gle.com>
Thanks,
Ian
> Kim
Powered by blists - more mailing lists