aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/linked_funcs.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-07 08:55:18 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-11-07 09:14:15 -0800
commitf79587520a6007a3734b23a3c2eb4c62aa457533 (patch)
tree16da27ea76eba2c951a1640640d4be36ac7fb110 /tools/testing/selftests/bpf/prog_tests/linked_funcs.c
parent5309b516bcc6f76dda0e44a7a1824324277093d6 (diff)
selftests/bpf: Clean up btf and btf_dump in dump_datasec test
Free up used resources at the end and on error. Also make it more obvious that there is btf__parse() call that creates struct btf instance. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com> Link: https://lore.kernel.org/bpf/20211107165521.9240-7-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/linked_funcs.c')
0 files changed, 0 insertions, 0 deletions