]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Use BPF_PROG2 for some fentry programs without struct arguments
authorYonghong Song <yhs@fb.com>
Wed, 31 Aug 2022 15:27:18 +0000 (08:27 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 7 Sep 2022 02:51:14 +0000 (19:51 -0700)
commit3de348a88ea0c48d09586a6d19f6ee188bd1b42a
tree97dd94888b62b94bf0e465f240c47176f93350ab
parent21573a614e8f4b7446e1c0015d0a5505693582b8
selftests/bpf: Use BPF_PROG2 for some fentry programs without struct arguments

Use BPF_PROG2 instead of BPF_PROG for programs in progs/timer.c
to test BPF_PROG2 for cases without struct arguments.

Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220831152718.2081091-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/timer.c