Files
libbpf/src
Jiri Olsa 69671302df 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 <andrii@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240910125336.3056271-1-jolsa@kernel.org
2024-10-09 14:13:35 -07:00
..
2024-10-09 14:13:35 -07:00
2024-10-09 14:13:35 -07:00
2024-10-09 14:13:35 -07:00
2024-10-09 14:13:35 -07:00
2024-06-27 10:01:42 -07:00
2024-10-09 14:13:35 -07:00
2024-06-27 10:01:42 -07:00
2024-10-09 14:13:35 -07:00
2024-10-09 14:13:35 -07:00