diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-12-01 22:52:41 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-12-03 10:17:26 -0800 |
commit | 71ccb50074f31a50a1da4c1d8306d54da0907b00 (patch) | |
tree | 6af2efee4c96712bc438663f80d3369b25dc3e23 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
parent | 97306be45fbe7a02461c3c2a57e666cf662b1aaf (diff) |
tools/bpftool: Emit name <anon> for anonymous BTFs
For consistency of output, emit "name <anon>" for BTFs without the name. This
keeps output more consistent and obvious.
Suggested-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201202065244.530571-2-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions