aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-06 15:25:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-06 15:25:57 +0000
commitce1d4d7ee946f64c21964e62c67ca4aa73d671b1 (patch)
tree355a29b69ce11bea5558362eb8884a88b056dff3
parentbcd4209323f29e5b50cdbfe372dc75ef1fdd014e (diff)
downloadupstream-ce1d4d7ee946f64c21964e62c67ca4aa73d671b1.tar.gz
upstream-ce1d4d7ee946f64c21964e62c67ca4aa73d671b1.tar.bz2
upstream-ce1d4d7ee946f64c21964e62c67ca4aa73d671b1.zip
kernel: make tracing support configurable
SVN-Revision: 32085
-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 c288cfbec1..2733ecb695 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 a4db291ccf..b802e70974 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