bpf: selftests: Specify CONFIG_DYNAMIC_FTRACE in the testing config
Subsystems (5)
PATCH 1/1 bpf: selftests: Specify CONFIG_DYNAMIC_FTRACE in the testing config
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 <[email protected]>
--- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/bpf/config +1 -0
@@ -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
Signature · 1 line
2.30.2
Quoted 14 lines · Martin KaFai Lau
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 <[email protected]>--- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/bpf/config +0
-0
tools/testing/selftests/bpf/config CONFIG_SECURITYFS=y · line 47
Quoted 4 lines
tools/testing/selftests/bpf/config +1
-0@@ -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!
Quoted 3 lines
--
2.30.2