]> git.hungrycats.org Git - linux/commit
bpf: Add bpf_trampoline_add/remove_prog functions
authorJiri Olsa <jolsa@kernel.org>
Sat, 6 Jun 2026 12:39:32 +0000 (14:39 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 7 Jun 2026 17:03:00 +0000 (10:03 -0700)
commite6cc9ed677e622265bbd015892be58a1eece6238
tree43f8f483d809be0496bf5995b1307357aeadbd4e
parentbf4bc3e11c4195123055780b84dccfb8d2569535
bpf: Add bpf_trampoline_add/remove_prog functions

Separate bpf_trampoline_add/remove_prog functions from
__bpf_trampoline_link/unlink functions to be able to add/remove
trampoline programs without the image being updated in following
changes. No functional change is intended.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20260606123955.345967-8-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/trampoline.c