Re: [PATCH v2] perf pmu: Fix alias events list

From: John Garry
Date: Tue Dec 28 2021 - 16:00:29 EST


On 21/12/2021 16:11, John Garry wrote:
Commit 0e0ae8742207 ("perf list: Display hybrid PMU events with cpu type")
changes the event list for uncore PMUs or arm64 heterogeneous CPU systems,
such that duplicate aliases are incorrectly listed per PMU (which they
should not be), like:

./perf list
...
unc_cbo_cache_lookup.any_es
[Unit: uncore_cbox L3 Lookup any request that access cache and found
line in E or S-state]
unc_cbo_cache_lookup.any_es
[Unit: uncore_cbox L3 Lookup any request that access cache and found
line in E or S-state]
unc_cbo_cache_lookup.any_i
[Unit: uncore_cbox L3 Lookup any request that access cache and found
line in I-state]
unc_cbo_cache_lookup.any_i
[Unit: uncore_cbox L3 Lookup any request that access cache and found
line in I-state]
...

Notice how the events are listed twice.


Hi Arnaldo,

Can you kindly consider picking up this change for v5.16?

Thanks!