summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2026-06-11 13:42:26 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-06-14 17:24:25 -0700
commit26330a9226417c9a3395db9fdb403f7d7371e6b7 (patch)
treee0dd8007fb15b81bfcedfe3332ba508ac7d92a27 /include/linux/debugobjects.h
parent65d81609e93140d8dd745fd41eb8a195f83ba7cd (diff)
bpf: Add support to specify uprobe_multi target via file descriptor
Allow uprobe_multi link to identify the target binary by an already opened file descriptor. Adding new BPF_F_UPROBE_MULTI_PATH_FD flag and the path_fd field for the attr.link_create.uprobe_multi struct. When the flag is set, we resolve the target from path_fd, without the flag, we keep the existing string path behavior. I don't see a use case for supporting O_PATH file descriptors, because we need to read the binary first to get probes offsets, so I'm using the CLASS(fd, f), which fails for O_PATH fds. Assisted-by: Codex:GPT-5.4 Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20260611114230.950379-4-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions