]> git.hungrycats.org Git - linux/commit
bpf: allow kfuncs within tracepoint and perf event programs
authorJP Kobryn <inwardvessel@gmail.com>
Thu, 5 Sep 2024 22:38:11 +0000 (15:38 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Sep 2024 00:02:03 +0000 (17:02 -0700)
commitbc638d8cb5be813d4eeb9f63cce52caaa18f3960
tree1a977f4824c95b38b7d3fa8ac287e6b446a02928
parent2db2b8cb8f96bb1def9904abbc859d95e3fbf99c
bpf: allow kfuncs within tracepoint and perf event programs

Associate tracepoint and perf event program types with the kfunc tracing
hook. This allows calling kfuncs within these types of programs.

Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Link: https://lore.kernel.org/r/20240905223812.141857-2-inwardvessel@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c