diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2022-10-01 13:44:25 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-10-06 01:27:08 +0300 |
| commit | d503f1176b14f722a40ea5110312614982f9a80b (patch) | |
| tree | a37a9174f088ce5bcc995aa3d838401b3e96de64 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 44a726c3f23cf762ef4ce3c1709aefbcbe97f62c (diff) | |
| download | linux-d503f1176b14f722a40ea5110312614982f9a80b.tar.xz | |
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 <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221001104425.415768-2-eddyz87@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
