aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-09-21 21:00:34 +0000
committerAlexei Starovoitov <[email protected]>2021-09-22 02:40:09 +0000
commitd3b0e3b03cf75896de7b03ad1fca2bff98c59f15 (patch)
treeb4044bc128e8efacb2420cfc4b5fe4e8c63a61f2 /tools/lib/bpf/libbpf.c
parentlibbpf: Fix memory leak in legacy kprobe attach logic (diff)
downloadkernel-d3b0e3b03cf75896de7b03ad1fca2bff98c59f15.tar.gz
kernel-d3b0e3b03cf75896de7b03ad1fca2bff98c59f15.zip
selftests/bpf: Adopt attach_probe selftest to work on old kernels
Make sure to not use ref_ctr_off feature when running on old kernels that don't support this feature. This allows to test libbpf's legacy kprobe and uprobe logic on old kernels. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions