Re: [PATCH 3/6] perf record: Implement basic filtering for off-cpu

From: Arnaldo Carvalho de Melo
Date: Wed May 25 2022 - 10:07:38 EST


Em Wed, May 25, 2022 at 08:44:38AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Wed, May 25, 2022 at 08:27:38AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Thu, May 19, 2022 at 02:02:28PM -0700, Namhyung Kim escreveu:
> > > On Wed, May 18, 2022 at 9:02 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> > > > Perhaps more concise with a for_each:

> > > > perf_cpu_map__for_each_cpu(cpu, idx, evlist->core.user_requested_cpus)
> > > > bpf_map_update_elem(fd, &cpu.cpu, &val, BPF_ANY);

> > So I'll wait for a new version of this patchset.

> I take that back, will apply and this can be a follow up patch, right?

I tested it and added some committer notes, everything is now at my
tmp.perf/core branch and will transition to perf/core on its way to 5.19
later today, after tests finish.

- Arnaldo