summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 15:25:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 15:25:57 +0000
commit32b9ee0930f6997083e199d27d25043653220be0 (patch)
tree3f4b6464f6984a96117f8accabe19b505c092a62
parentdc7944ead9062027c219a809bbbc0d553034798a (diff)
kernel: make tracing support configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32085 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Config.in9
-rw-r--r--target/linux/generic/config-3.33
2 files changed, 12 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index c288cfbec..2733ecb69 100644
--- 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
diff --git a/target/linux/generic/config-3.3 b/target/linux/generic/config-3.3
index a4db291cc..b802e7097 100644
--- a/target/linux/generic/config-3.3
+++ b/target/linux/generic/config-3.3
@@ -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