Re: [PATCH v2] perf record: Ensure space for lost samples

From: Namhyung Kim
Date: Tue Jun 11 2024 - 12:06:18 EST


Hi Ian,

On Mon, Jun 10, 2024 at 10:06 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> Previous allocation didn't account for sample ID written after the
> lost samples event. Switch from malloc/free to a stack allocation.
>
> Reported-by: Milian Wolff <milian.wolff@xxxxxxxx>
> Closes: https://lore.kernel.org/linux-perf-users/23879991.0LEYPuXRzz@milian-workstation/
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks,
Namhyung