[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eeefc653-922c-4ca8-b038-82bb6c4bfb6e@linaro.org>
Date: Tue, 13 Aug 2024 14:33:36 +0100
From: James Clark <james.clark@...aro.org>
To: irogers@...gle.com, linux-perf-users@...r.kernel.org
Cc: John Garry <john.g.garry@...cle.com>, Will Deacon <will@...nel.org>,
Mike Leach <mike.leach@...aro.org>, Leo Yan <leo.yan@...ux.dev>,
Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>, Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>, Adrian Hunter <adrian.hunter@...el.com>,
"Liang, Kan" <kan.liang@...ux.intel.com>,
Dominique Martinet <asmadeus@...ewreck.org>,
Yang Jihong <yangjihong1@...wei.com>, Ze Gao <zegao2021@...il.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 5/7] perf evlist: Use hybrid default attrs whenever
extended type is supported
On 13/08/2024 2:23 pm, James Clark wrote:
> For x86, a hybrid version of ___evlist__add_default_attrs() was added to
> support default perf stat events. This can actually be used whenever
> perf_pmus__supports_extended_type() is true, which now makes default
> perf stat arguments work properly on Arm big.LITTLE:
>
> $ perf stat
> ...
> 3347093940 armv8_cortex_a53/cycles/ # 0.563 GHz (98.99%)
> 3295523067 armv8_cortex_a57/cycles/ # 0.554 GHz (67.07%)
> ...
>
> Signed-off-by: James Clark <james.clark@...aro.org>
> ---
> tools/perf/arch/x86/util/evlist.c | 65 -------------------------------
> tools/perf/util/evlist.c | 65 +++++++++++++++++++++++++++----
> tools/perf/util/evlist.h | 6 +--
> 3 files changed, 59 insertions(+), 77 deletions(-)
>
[...]
> diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
> index 1417f9a23083..e0c31399beb6 100644
> --- a/tools/perf/util/evlist.c
> +++ b/tools/perf/util/evlist.c
> @@ -5,6 +5,7 @@
> * Parts came from builtin-{top,stat,record}.c, see those files for further
> * copyright notes.
> */
> +#include "pmus.h"
Oops, this include was auto added and isn't required.
Powered by blists - more mailing lists