[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIjSOjV6JePKH1lu@kernel.org>
Date: Tue, 13 Jun 2023 17:31:54 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: kan.liang@...ux.intel.com, mingo@...hat.com, peterz@...radead.org,
namhyung@...nel.org, jolsa@...nel.org, adrian.hunter@...el.com,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
ak@...ux.intel.com, eranian@...gle.com, ahmad.yasin@...el.com,
Jing Zhang <renyu.zj@...ux.alibaba.com>,
John Garry <john.g.garry@...cle.com>
Subject: Re: [PATCH 4/8] perf vendor events arm64: Add default tags into
topdown L1 metrics
Em Tue, Jun 13, 2023 at 12:45:10PM -0700, Ian Rogers escreveu:
> On Wed, Jun 7, 2023 at 9:27 AM <kan.liang@...ux.intel.com> wrote:
> >
> > From: Kan Liang <kan.liang@...ux.intel.com>
> >
> > Add the default tags for ARM as well.
> >
> > Signed-off-by: Kan Liang <kan.liang@...ux.intel.com>
> > Cc: Jing Zhang <renyu.zj@...ux.alibaba.com>
> > Cc: John Garry <john.g.garry@...cle.com>
>
> Acked-by: Ian Rogers <irogers@...gle.com>
Thanks, applied.
- Arnaldo
> Thanks,
> Ian
>
> > ---
> > tools/perf/pmu-events/arch/arm64/sbsa.json | 12 ++++++++----
> > 1 file changed, 8 insertions(+), 4 deletions(-)
> >
> > diff --git a/tools/perf/pmu-events/arch/arm64/sbsa.json b/tools/perf/pmu-events/arch/arm64/sbsa.json
> > index f678c37ea9c3..f90b338261ac 100644
> > --- a/tools/perf/pmu-events/arch/arm64/sbsa.json
> > +++ b/tools/perf/pmu-events/arch/arm64/sbsa.json
> > @@ -2,28 +2,32 @@
> > {
> > "MetricExpr": "stall_slot_frontend / (#slots * cpu_cycles)",
> > "BriefDescription": "Frontend bound L1 topdown metric",
> > - "MetricGroup": "TopdownL1",
> > + "DefaultMetricgroupName": "TopdownL1",
> > + "MetricGroup": "Default;TopdownL1",
> > "MetricName": "frontend_bound",
> > "ScaleUnit": "100%"
> > },
> > {
> > "MetricExpr": "(1 - op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))",
> > "BriefDescription": "Bad speculation L1 topdown metric",
> > - "MetricGroup": "TopdownL1",
> > + "DefaultMetricgroupName": "TopdownL1",
> > + "MetricGroup": "Default;TopdownL1",
> > "MetricName": "bad_speculation",
> > "ScaleUnit": "100%"
> > },
> > {
> > "MetricExpr": "(op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))",
> > "BriefDescription": "Retiring L1 topdown metric",
> > - "MetricGroup": "TopdownL1",
> > + "DefaultMetricgroupName": "TopdownL1",
> > + "MetricGroup": "Default;TopdownL1",
> > "MetricName": "retiring",
> > "ScaleUnit": "100%"
> > },
> > {
> > "MetricExpr": "stall_slot_backend / (#slots * cpu_cycles)",
> > "BriefDescription": "Backend Bound L1 topdown metric",
> > - "MetricGroup": "TopdownL1",
> > + "DefaultMetricgroupName": "TopdownL1",
> > + "MetricGroup": "Default;TopdownL1",
> > "MetricName": "backend_bound",
> > "ScaleUnit": "100%"
> > }
> > --
> > 2.35.1
> >
--
- Arnaldo
Powered by blists - more mailing lists