Commit 8c8b475
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]1 parent 41d0c46 commit 8c8b475
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11688 | 11688 | | |
11689 | 11689 | | |
11690 | 11690 | | |
11691 | | - | |
| 11691 | + | |
11692 | 11692 | | |
11693 | 11693 | | |
11694 | 11694 | | |
| |||
0 commit comments