diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-08 16:10:06 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-09 15:38:36 -0700 |
commit | b4099769f3321a8d258a47a8b4b9d278dad28a73 (patch) | |
tree | 0877eb73842f3aa868f7cf801ab04e4911f4868c /scripts/bpf_helpers_doc.py | |
parent | f05c2001ecc98629cecd47728e4db11e5a17e58d (diff) |
libbpf: Fix struct end padding in btf_dump
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@gmail.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20191008231009.2991130-2-andriin@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions