Re: [PATCH v1] perf sched: Avoid union type punning undefined behavior

From: Arnaldo Carvalho de Melo
Date: Wed Oct 01 2025 - 09:38:25 EST


On Tue, Sep 30, 2025 at 01:05:33PM -0700, Ian Rogers wrote:
> On Sun, Sep 14, 2025 at 11:33 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > A union is used to set the priv value in thread (a void*) to a boolean
> > value through type punning. Undefined behavior sanitizer fails on this.
> >
> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Ping.

Thanks, applied to perf-tools-next,

- Arnaldo