]> 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)
commitddcd30b74ceaad186b08b2b9c60fd5ac5baa2d6c
tree8cf41d6d685b64997dca819cae875b2ea37c1361
parent955e64c57bc1c528607d70b71537938cf9784e8a
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