[OpenWrt-Devel] [PATCH] config: add function tracers

Bryan Forbes bryan at reigndropsfall.net
Tue Mar 17 23:04:35 EDT 2015


Adds menuconfig options for ftrace function tracers

Signed-off-by: Bryan Forbes <bryan at reigndropsfall.net>
---
 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
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list