Re: [PATCH] perf top: Use evsel's cpus to replace user_requested_cpus

From: Arnaldo Carvalho de Melo
Date: Mon Dec 18 2023 - 15:23:26 EST


Em Fri, Dec 15, 2023 at 01:53:12PM -0500, Liang, Kan escreveu:
> On 2023-12-15 1:26 p.m., Arnaldo Carvalho de Melo wrote:
> > Right, I implemented it in a slightly different way, but end result
> > should be the same:

> > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> > Date: Fri, 15 Dec 2023 15:23:30 -0300
> > Subject: [PATCH 1/1] perf evlist: Move event attributes to after the / when uniquefying using the PMU name

> Looks good to me and verified.

> Tested-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>

I ended up with a bit more simplified version: