Re: [PATCH 6/8] perf/core: Do not pass header for sample id init

From: Song Liu
Date: Fri Jan 13 2023 - 16:08:04 EST


On Thu, Jan 12, 2023 at 1:40 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> The only thing it does for header in __perf_event_header__init_id() is
> to update the header size with event->id_header_size. We can do this
> outside and get rid of the argument for the later change.
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>