From: Felix Fietkau Date: Wed, 6 Jun 2012 15:25:57 +0000 (+0000) Subject: kernel: make tracing support configurable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce1d4d7ee946f64c21964e62c67ca4aa73d671b1;p=openwrt%2Fstaging%2Fwigyori.git kernel: make tracing support configurable SVN-Revision: 32085 --- 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