]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Allow calling bpf_prog_test kfuncs in tracing programs
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Tue, 9 Aug 2022 21:30:31 +0000 (23:30 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Aug 2022 01:46:11 +0000 (18:46 -0700)
commit16f1516970eeea8e1c7914ca48311e20fdc2742f
tree8cf41d6d685b64997dca819cae875b2ea37c1361
parent73ad32aafca29063a4b69ae6876e1d626756b142
bpf: Allow calling bpf_prog_test kfuncs in tracing programs

In addition to TC hook, enable these in tracing programs so that they
can be used in selftests.

Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20220809213033.24147-2-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/bpf/test_run.c