aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-09-10 12:53:36 +0000
committerAndrii Nakryiko <[email protected]>2024-09-10 18:35:13 +0000
commit8c8b4759740359a6f2e7ffdf6531dea871130c63 (patch)
tree05927811c0ec86e093f21a5bc1e5e0ad164fe5a8 /tools/bpf/bpftool/net.c
parentlibbpf: Fix some typos in comments (diff)
downloadkernel-8c8b4759740359a6f2e7ffdf6531dea871130c63.tar.gz
kernel-8c8b4759740359a6f2e7ffdf6531dea871130c63.zip
libbpf: Fix uretprobe.multi.s programs auto attachment
As reported by Andrii we don't currently recognize uretprobe.multi.s programs as return probes due to using (wrong) strcmp function. Using str_has_pfx() instead to match uretprobe.multi prefix. Tests are passing, because the return program was executed as entry program and all counts were incremented properly. Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions