Re: 'perf stat --null sleep 1' segfault related to evlist__for_each_entry with affinity == NULL

Arnaldo Carvalho de Melo
2022-03-16T20:18:52Z

Em Wed, Mar 16, 2022 at 12:14:12AM -0700, Ian Rogers escreveu:
> On Tue, Mar 15, 2022 at 5:50 AM Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > And was dormant as the affinity was being always setup, which we don't
> > want when it isn't needed.
>
> Thanks for the detailed report, I sent a fix in:
> https://lore.kernel.org/lkml/20220316071049.2368250-1-irogers@google.com/
> Any thoughts for a shell test to avoid this regressing again in the future?

Thanks for providing me with the Message-ID, that way I'll be able to
get that patch since I wasn't on the CC list for it, I'll also add a
Reported-by tag.

- Arnaldo