diff mbox series

[bpf-next] bpf: selftests: Specify CONFIG_DYNAMIC_FTRACE in the testing config

Message ID 20210403002921.3419721-1-kafai@fb.com
State New
Headers show
Series [bpf-next] bpf: selftests: Specify CONFIG_DYNAMIC_FTRACE in the testing config | expand

Commit Message

Martin KaFai Lau April 3, 2021, 12:29 a.m. UTC
The tracing test and the recent kfunc call test require
CONFIG_DYNAMIC_FTRACE.  This patch adds it to the config file.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
---
 tools/testing/selftests/bpf/config | 1 +
 1 file changed, 1 insertion(+)

Comments

Andrii Nakryiko April 3, 2021, 4:10 p.m. UTC | #1
On Fri, Apr 2, 2021 at 5:31 PM Martin KaFai Lau <kafai@fb.com> wrote:
>
> The tracing test and the recent kfunc call test require
> CONFIG_DYNAMIC_FTRACE.  This patch adds it to the config file.
>
> Signed-off-by: Martin KaFai Lau <kafai@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 37e1f303fc11..528af74e0c8f 100644
> --- a/tools/testing/selftests/bpf/config
> +++ b/tools/testing/selftests/bpf/config
> @@ -44,3 +44,4 @@ CONFIG_SECURITYFS=y
>  CONFIG_IMA_WRITE_POLICY=y
>  CONFIG_IMA_READ_POLICY=y
>  CONFIG_BLK_DEV_LOOP=y
> +CONFIG_DYNAMIC_FTRACE=y

I've also added CONFIG_FUNCTION_TRACER=y, which seems to be a
dependency of DYNAMIC_FTRACE. Applied to bpf-next, thanks!

> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index 37e1f303fc11..528af74e0c8f 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -44,3 +44,4 @@  CONFIG_SECURITYFS=y
 CONFIG_IMA_WRITE_POLICY=y
 CONFIG_IMA_READ_POLICY=y
 CONFIG_BLK_DEV_LOOP=y
+CONFIG_DYNAMIC_FTRACE=y