diff options
author | 2024-11-08 14:45:33 +0100 | |
---|---|---|
committer | 2024-11-11 08:18:00 -0800 | |
commit | f505005bc7426f4309880da94cfbfc37efa225bd (patch) | |
tree | ed33b18093c1fd543b3d9085c799a949ab04faac /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: Allow return values 0 and 1 for kprobe session (diff) | |
download | wireguard-linux-f505005bc7426f4309880da94cfbfc37efa225bd.tar.xz wireguard-linux-f505005bc7426f4309880da94cfbfc37efa225bd.zip |
bpf: Force uprobe bpf program to always return 0
As suggested by Andrii make uprobe multi bpf programs to always return 0,
so they can't force uprobe removal.
Keeping the int return type for uprobe_prog_run, because it will be used
in following session changes.
Fixes: 89ae89f53d20 ("bpf: Add multi uprobe link")
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241108134544.480660-3-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions