aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorFrédéric Weisbecker <fweisbec@gmail.com>2008-09-21 14:12:14 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 04:38:06 -0400
commit2a3a4f669df2164288d11406d11d5e4933bf5e53 (patch)
treecbcab61ae346f24731b52c706a3650978a95aba3 /kernel/trace
parent35cb5ed01261f5669657d2f1720aca902299887d (diff)
tracing/ftrace: tracing engine depends on Nop Tracer
Now that the nop tracer is used as the default tracer by replacing the "none" tracer, tracing engine depends on it. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/Kconfig15
1 files changed, 5 insertions, 10 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index d7b2de744631..254328dec672 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -1,8 +1,13 @@
1# 1#
2# Architectures that offer an FTRACE implementation should select HAVE_FTRACE: 2# Architectures that offer an FTRACE implementation should select HAVE_FTRACE:
3# 3#
4
5config NOP_TRACER
6 bool
7
4config HAVE_FTRACE 8config HAVE_FTRACE
5 bool 9 bool
10 select NOP_TRACER
6 11
7config HAVE_DYNAMIC_FTRACE 12config HAVE_DYNAMIC_FTRACE
8 bool 13 bool
@@ -101,16 +106,6 @@ config SCHED_TRACER
101 This tracer tracks the latency of the highest priority task 106 This tracer tracks the latency of the highest priority task
102 to be scheduled in, starting from the point it has woken up. 107 to be scheduled in, starting from the point it has woken up.
103 108
104config NOP_TRACER
105 bool "NOP Tracer"
106 depends on HAVE_FTRACE
107 depends on DEBUG_KERNEL
108 select TRACING
109 help
110 This tracer does nothing. The primary purpose for it is to
111 politely print the output of ftrace_printk() calls without
112 the overhead of an irrelevant trace taking place.
113
114config CONTEXT_SWITCH_TRACER 109config CONTEXT_SWITCH_TRACER
115 bool "Trace process context switches" 110 bool "Trace process context switches"
116 depends on HAVE_FTRACE 111 depends on HAVE_FTRACE