Message ID | 1543332284-15694-1-git-send-email-naresh.kamboju@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 295daee4ba108a025b9ac66231b0700e18ff5315 |
Headers | show |
Series | selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS | expand |
On 11/27/18 7:24 AM, Naresh Kamboju wrote: > 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> > --- > tools/testing/selftests/bpf/config | 1 + > 1 file changed, 1 insertion(+) > > 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 >
On 11/27/2018 04:24 PM, Naresh Kamboju wrote: > 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> > --- > tools/testing/selftests/bpf/config | 1 + > 1 file changed, 1 insertion(+) > > 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 > Applied to bpf-next, thanks!
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
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> --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+)