aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-04 08:04:51 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 04:36:51 -0400
commitd3ee6d992821f471193a7ee7a00af9ebb4bf5d01 (patch)
tree4dbd9712266848c101f249c9df7840ba784b5a31
parent80b5e940050c273ba277acbf3a9fbc1d4441e681 (diff)
ftrace: make it depend on DEBUG_KERNEL
make most of the tracers depend on DEBUG_KERNEL - that's their intended purpose. (most distributions have DEBUG_KERNEL enabled anyway so this is not a practical limitation - but it simplifies the tracing menu in the normal case) Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 5a9cffb0fafb..16e5bb5daaa5 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -22,6 +22,7 @@ config TRACING
22config FTRACE 22config FTRACE
23 bool "Kernel Function Tracer" 23 bool "Kernel Function Tracer"
24 depends on HAVE_FTRACE 24 depends on HAVE_FTRACE
25 depends on DEBUG_KERNEL
25 select FRAME_POINTER 26 select FRAME_POINTER
26 select TRACING 27 select TRACING
27 select CONTEXT_SWITCH_TRACER 28 select CONTEXT_SWITCH_TRACER
@@ -40,6 +41,7 @@ config IRQSOFF_TRACER
40 depends on TRACE_IRQFLAGS_SUPPORT 41 depends on TRACE_IRQFLAGS_SUPPORT
41 depends on GENERIC_TIME 42 depends on GENERIC_TIME
42 depends on HAVE_FTRACE 43 depends on HAVE_FTRACE
44 depends on DEBUG_KERNEL
43 select TRACE_IRQFLAGS 45 select TRACE_IRQFLAGS
44 select TRACING 46 select TRACING
45 select TRACER_MAX_TRACE 47 select TRACER_MAX_TRACE
@@ -63,6 +65,7 @@ config PREEMPT_TRACER
63 depends on GENERIC_TIME 65 depends on GENERIC_TIME
64 depends on PREEMPT 66 depends on PREEMPT
65 depends on HAVE_FTRACE 67 depends on HAVE_FTRACE
68 depends on DEBUG_KERNEL
66 select TRACING 69 select TRACING
67 select TRACER_MAX_TRACE 70 select TRACER_MAX_TRACE
68 help 71 help
@@ -90,6 +93,7 @@ config SYSPROF_TRACER
90config SCHED_TRACER 93config SCHED_TRACER
91 bool "Scheduling Latency Tracer" 94 bool "Scheduling Latency Tracer"
92 depends on HAVE_FTRACE 95 depends on HAVE_FTRACE
96 depends on DEBUG_KERNEL
93 select TRACING 97 select TRACING
94 select CONTEXT_SWITCH_TRACER 98 select CONTEXT_SWITCH_TRACER
95 select TRACER_MAX_TRACE 99 select TRACER_MAX_TRACE
@@ -100,6 +104,7 @@ config SCHED_TRACER
100config CONTEXT_SWITCH_TRACER 104config CONTEXT_SWITCH_TRACER
101 bool "Trace process context switches" 105 bool "Trace process context switches"
102 depends on HAVE_FTRACE 106 depends on HAVE_FTRACE
107 depends on DEBUG_KERNEL
103 select TRACING 108 select TRACING
104 select MARKERS 109 select MARKERS
105 help 110 help
@@ -120,6 +125,7 @@ config DYNAMIC_FTRACE
120 bool "enable/disable ftrace tracepoints dynamically" 125 bool "enable/disable ftrace tracepoints dynamically"
121 depends on FTRACE 126 depends on FTRACE
122 depends on HAVE_DYNAMIC_FTRACE 127 depends on HAVE_DYNAMIC_FTRACE
128 depends on DEBUG_KERNEL
123 default y 129 default y
124 help 130 help
125 This option will modify all the calls to ftrace dynamically 131 This option will modify all the calls to ftrace dynamically
@@ -146,6 +152,7 @@ config FTRACE_SELFTEST
146config FTRACE_STARTUP_TEST 152config FTRACE_STARTUP_TEST
147 bool "Perform a startup test on ftrace" 153 bool "Perform a startup test on ftrace"
148 depends on TRACING 154 depends on TRACING
155 depends on DEBUG_KERNEL
149 select FTRACE_SELFTEST 156 select FTRACE_SELFTEST
150 help 157 help
151 This option performs a series of startup tests on ftrace. On bootup 158 This option performs a series of startup tests on ftrace. On bootup