Re: [PATCH] perf: Adjust perf-inject output data offset for backward compatibility
From: Raul Silvera
Date: Mon Jun 20 2022 - 21:36:24 EST
On Mon, Jun 20, 2022 at 11:54 AM Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
>
> This looks too late since, although the header comes before the data,
> it also gets written afterwards (at_exit == true). It would be
> better if we could rely on header->data_offset at this point.
>
Thank you. You're right. We can rely on header->data_offset at this
point as it is
adjusted upfront in __cmd_inject. Will send an updated patch.
Raúl E. Silvera
Software Engineer
waymo.com