[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3bf95b1-bb9a-91be-1816-59c96c4e2024@linux.intel.com>
Date: Fri, 4 Feb 2022 17:48:20 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Ian Rogers <irogers@...gle.com>, vineet.singh@...el.com,
perry.taylor@...el.com, caleb.biggers@...el.com,
asaf.yaffe@...el.com, kshipra.bopardikar@...el.com,
Kan Liang <kan.liang@...ux.intel.com>,
Zhengjun Xing <zhengjun.xing@...ux.intel.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>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
James Clark <james.clark@....com>,
John Garry <john.garry@...wei.com>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Cc: Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH] perf stat: Fix display of grouped aliased events.
On 2/4/2022 5:09 PM, Ian Rogers wrote:
> An event may have a number of uncore aliases that when added to
> the evlist are consecutive. If there are multiple uncore events
> in a group then parse_events__set_leader_for_uncore_aliase will
> reorder the evlist so that events on the same PMU are
> adjacent. collect_all_aliases assumes that aliases are in blocks
> so that only the first counter is printed and all others are
> marked merged. The reordering for groups breaks the assumption
> and so all counts are printed. This change removes the assumption
> from collect_all_aliases that the events are in blocks and
> instead processes the entire evlist.
Looks good to me.
Reviewed-by: Andi Kleen <ak@...ux.intel.com>
-Andi
Powered by blists - more mailing lists