aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2018-11-27 20:54:44 +0530
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-28 22:13:06 +0100
commit295daee4ba108a025b9ac66231b0700e18ff5315 (patch)
tree5b67f018b6b22f8e41d1d1ebe923f77f45cb2d0c
parentMerge branch 'bpf-sk-msg-pop-data' (diff)
downloadlinux-dev-295daee4ba108a025b9ac66231b0700e18ff5315.tar.xz
linux-dev-295daee4ba108a025b9ac66231b0700e18ff5315.zip
selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS
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>
-rw-r--r--tools/testing/selftests/bpf/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 7f90d3645af8..37f947ec44ed 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -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