diff options
author | 2024-09-10 14:53:36 +0200 | |
---|---|---|
committer | 2024-09-10 11:35:13 -0700 | |
commit | 8c8b4759740359a6f2e7ffdf6531dea871130c63 (patch) | |
tree | 05927811c0ec86e093f21a5bc1e5e0ad164fe5a8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libbpf: Fix some typos in comments (diff) | |
download | wireguard-linux-8c8b4759740359a6f2e7ffdf6531dea871130c63.tar.xz wireguard-linux-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 <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
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions