Andrii Nakryiko wrote: > Fix a case where explicit padding at the end of a struct is necessary > due to non-standart alignment requirements of fields (which BTF doesn't > capture explicitly). > > Fixes: 351131b51c7a ("libbpf: add btf_dump API for BTF-to-C conversion") > Reported-by: John Fastabend <john.fastabend@xxxxxxxxx> > Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> > --- Tested a few different kernels and seems to have resolved the issue I was seeing. Tested-by: John Fastabend <john.fastabend@xxxxxxxxx>