Re: [PATCH v1] tracing/remotes: Align field offset in remote_event_format_show()
From: Fuad Tabba
Date: Fri Oct 09 2026 - 10:49:43 EST
Hi Vincent,
On Fri, 09 Oct 2026 14:28:48 +0100, Vincent Donnefort
<vdonnefort@xxxxxxxxxx> wrote:
> remote_event_format_show() doesn't take into account each field's
> alignment leading to an incorrect reporting of the actual field offset.
> Use the existing field->align.
Tested in pKVM: the format files under remotes/hypervisor now report
hyp_enter's vcpu at offset 4 and selftest's id at 8, matching the
structs, and the hypervisor ftracetest still passes.
Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Tested-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Cheers,
/fuad