diff options
author | Daniel Müller <deso@posteo.net> | 2022-05-11 17:22:49 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-05-11 12:03:49 -0700 |
commit | 998e1869de1b10caec6ec940632ff271036926f5 (patch) | |
tree | a97a832d8b3958f477efa892be0d19d0c01fbe5e /tools/testing | |
parent | 99f785d5e5ae3b143872f55cb6f5c2d08df9c89c (diff) | |
download | linux-998e1869de1b10caec6ec940632ff271036926f5.tar.gz linux-998e1869de1b10caec6ec940632ff271036926f5.tar.bz2 linux-998e1869de1b10caec6ec940632ff271036926f5.zip |
selftests/bpf: Enable CONFIG_FPROBE for self tests
Some of the BPF selftests are failing when running with a rather bare
bones configuration based on tools/testing/selftests/bpf/config.
Specifically, we see a bunch of failures due to errno 95:
> test_attach_api:PASS:fentry_raw_skel_load 0 nsec
> libbpf: prog 'test_kprobe_manual': failed to attach: Operation not supported
> test_attach_api:FAIL:bpf_program__attach_kprobe_multi_opts unexpected error: -95
> 79 /6 kprobe_multi_test/attach_api_syms:FAIL
The cause of these is that CONFIG_FPROBE is missing. With this change we
add this configuration value to the BPF selftests config.
Signed-off-by: Daniel Müller <deso@posteo.net>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20220511172249.4082510-1-deso@posteo.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/bpf/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index 763db63a3890..08c6e5a66d87 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -53,3 +53,4 @@ CONFIG_NF_DEFRAG_IPV4=y CONFIG_NF_DEFRAG_IPV6=y CONFIG_NF_CONNTRACK=y CONFIG_USERFAULTFD=y +CONFIG_FPROBE=y |