selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS
authorNaresh Kamboju <naresh.kamboju@linaro.org>
Tue, 27 Nov 2018 15:24:44 +0000 (20:54 +0530)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 28 Nov 2018 21:13:06 +0000 (22:13 +0100)
CONFIG_FTRACE_SYSCALLS=y is required for get_cgroup_id_user test case
this test reads a file from debug trace path
/sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id

Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/config

index 7f90d3645af892d88373926ad7eee85a77f113b1..37f947ec44ed91533489572b2bd053ded3f080cd 100644 (file)
@@ -22,3 +22,4 @@ CONFIG_NET_CLS_FLOWER=m
 CONFIG_LWTUNNEL=y
 CONFIG_BPF_STREAM_PARSER=y
 CONFIG_XDP_SOCKETS=y
+CONFIG_FTRACE_SYSCALLS=y