Re: [PATCH 1/4] libperf evlist: Update group info in perf_evlist__remove()

From: Namhyung Kim
Date: Thu Feb 15 2024 - 00:17:03 EST


On Wed, Feb 14, 2024 at 3:50 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> On Mon, Feb 12, 2024 at 11:52 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> >
> > When an event in a group is removed, it should update the group status
> > including the pointer to leader and number of member events.
> >
> > Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
>
> Should we worry about evlist's all_cpus that could also be stale now?

Hmm.. right. I will refresh the cpu list after removal.

Thanks,
Namhyung