Adds menuconfig options for ftrace function tracers

Signed-off-by: Bryan Forbes <[email protected]>
---
 config/Config-kernel.in | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34e07bd..437a623 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -59,6 +59,26 @@ config KERNEL_ENABLE_DEFAULT_TRACERS
        depends on KERNEL_FTRACE
        default n
 
+config KERNEL_FUNCTION_TRACER
+       bool "Function tracer"
+       depends on KERNEL_FTRACE
+       default n
+
+config KERNEL_FUNCTION_GRAPH_TRACER
+       bool "Function graph tracer"
+       depends on KERNEL_FUNCTION_TRACER
+       default n
+
+config KERNEL_DYNAMIC_FTRACE
+       bool "Enable/disable function tracing dynamically"
+       depends on KERNEL_FUNCTION_TRACER
+       default n
+
+config KERNEL_FUNCTION_PROFILER
+       bool "Function profiler"
+       depends on KERNEL_FUNCTION_TRACER
+       default n
+
 config KERNEL_DEBUG_KERNEL
        bool
        default n
-- 
2.3.2
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to