diff options
author | Jiri Olsa <jolsa@kernel.org> | 2023-11-25 20:31:28 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-11-28 21:50:09 -0800 |
commit | 1703612885723869064f18e8816c6f3f87987748 (patch) | |
tree | 8fb956a4f362b70c73e4cd71d5b803bb1a5ec151 /tools/testing/selftests/bpf/prog_tests/async_stack_depth.c | |
parent | e56fdbfb06e26a7066b070967badef4148528df2 (diff) |
selftests/bpf: Use bpf_link__destroy in fill_link_info tests
The fill_link_info test keeps skeleton open and just creates
various links. We are wrongly calling bpf_link__detach after
each test to close them, we need to call bpf_link__destroy.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/bpf/20231125193130.834322-5-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions