diff options
author | Eduard Zingerman <[email protected]> | 2022-10-01 13:44:25 +0300 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-10-05 15:27:08 -0700 |
commit | d503f1176b14f722a40ea5110312614982f9a80b (patch) | |
tree | a37a9174f088ce5bcc995aa3d838401b3e96de64 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 44a726c3f23cf762ef4ce3c1709aefbcbe97f62c (diff) |
selftests/bpf: Test btf dump for struct with padding only fields
Structures with zero regular fields but some padding constitute a
special case in btf_dump.c:btf_dump_emit_struct_def with regards to
newline before closing '}'.
Signed-off-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions