Messages in this thread | | | From | Raul Silvera <> | Date | Mon, 20 Jun 2022 18:35:52 -0700 | Subject | Re: [PATCH] perf: Adjust perf-inject output data offset for backward compatibility |
| |
On Mon, Jun 20, 2022 at 11:54 AM Adrian Hunter <adrian.hunter@intel.com> 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
| |