Просмотр исходного кода

kernel: make tracing support configurable

SVN-Revision: 32085
Felix Fietkau 13 лет назад
Родитель
Сommit
ce1d4d7ee9
2 измененных файлов с 12 добавлено и 0 удалено
  1. 9 0
      Config.in
  2. 3 0
      target/linux/generic/config-3.3

+ 9 - 0
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

+ 3 - 0
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