aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2022-10-01 13:44:25 +0300
committerAndrii Nakryiko <[email protected]>2022-10-05 15:27:08 -0700
commitd503f1176b14f722a40ea5110312614982f9a80b (patch)
treea37a9174f088ce5bcc995aa3d838401b3e96de64 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent44a726c3f23cf762ef4ce3c1709aefbcbe97f62c (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