kernel: make tracing support configurable
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 6 Jun 2012 15:25:57 +0000 (15:25 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 6 Jun 2012 15:25:57 +0000 (15:25 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32085 3c298f89-4303-0410-b956-a3cf2f4a3e73

Config.in
target/linux/generic/config-3.3

index c288cfb..2733ecb 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
index a4db291..b802e70 100644 (file)
@@ -292,6 +292,7 @@ CONFIG_BLOCK=y
 CONFIG_BOOT_RAW=y
 # CONFIG_BPQETHER is not set
 CONFIG_BQL=y
+CONFIG_BRANCH_PROFILE_NONE=y
 # CONFIG_BRCMFMAC is not set
 CONFIG_BRIDGE=y
 # CONFIG_BRIDGE_EBT_802_3 is not set
@@ -2168,6 +2169,8 @@ CONFIG_PROC_FS=y
 # CONFIG_PROC_KCORE is not set
 # CONFIG_PROC_PAGE_MONITOR is not set
 CONFIG_PROC_SYSCTL=y
+# CONFIG_PROFILE_ALL_BRANCHES is not set
+# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
 # CONFIG_PROFILING is not set
 # CONFIG_PROVE_LOCKING is not set
 # CONFIG_PROVE_RCU is not set