kernel: make tracing support configurable
[openwrt/openwrt.git] / Config.in
index c288cfbec19fa340853b78cf122a275f7af14097..2733ecb6950b3f3c297ed8690a05bd9d0487b400 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -200,6 +200,15 @@ menu "Global build settings"
                help
                  This will give you more information in stack traces from kernel oopses
 
+       config KERNEL_FTRACE
+               bool "Compile the kernel with tracing support"
+               default n
+
+       config KERNEL_ENABLE_DEFAULT_TRACERS
+               bool "Trace process context switches and events"
+               depends on KERNEL_FTRACE
+               default n
+
        config KERNEL_DEBUG_KERNEL
                bool
                default n