On 17 October 2017 at 14:15, Greg KH gregkh@google.com wrote:
I'll go try to figure out what is up with 'test_maps' now...
Yes, it looks like I didn't have CONFIG_BPF_SYSCALL enabled, which is required by this test. Is that the issue for you as well?
Sorry, I meant CONFIG_STREAM_PARSER.
zcat /proc/config.gz | grep CONFIG_STREAM_PARSER # CONFIG_STREAM_PARSER is not set
and zcat /proc/config.gz | grep CONFIG_BPF CONFIG_BPF=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y # CONFIG_BPF_STREAM_PARSER is not set CONFIG_BPF_EVENTS=y
OTOH the config fragment for bpf test doesn't require it and that's why it's not enabled:
~/linux/tools/testing/selftests/bpf# cat config CONFIG_BPF=y CONFIG_BPF_SYSCALL=y CONFIG_NET_CLS_BPF=m CONFIG_BPF_EVENTS=y CONFIG_TEST_BPF=m
milosz