]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf: allow calling kfuncs from raw_tp programs
authorPuranjay Mohan <puranjay@kernel.org>
Mon, 22 Dec 2025 13:32:45 +0000 (05:32 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Dec 2025 06:23:38 +0000 (22:23 -0800)
commit342297d51146b1a3184e53925901a0cc282b3f76
treeb9a738ff763e6c229c00ec544b810f952d315c62
parent042d4c0642b35facee87628a61d81cc77debbc41
bpf: allow calling kfuncs from raw_tp programs

Associate raw tracepoint program type with the kfunc tracing hook. This
allows calling kfuncs from raw_tp programs.

Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20251222133250.1890587-2-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c