aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:55 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:15:29 -0400
commitc1d2327b36f2261ffa8ff7227321ba900c7eee7f (patch)
tree2d09d1fe2e07c097b18c2573bd03189cffa82e71 /kernel/trace/Kconfig
parent1d09daa55d2e9bab7e7d30f0d05e5a7bc60b2a4a (diff)
ftrace: restrict tracing to HAVE_FTRACE architectures
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index ebc158e6d59a..f3005717bcd0 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -32,6 +32,7 @@ config IRQSOFF_TRACER
32 default n 32 default n
33 depends on TRACE_IRQFLAGS_SUPPORT 33 depends on TRACE_IRQFLAGS_SUPPORT
34 depends on GENERIC_TIME 34 depends on GENERIC_TIME
35 depends on HAVE_FTRACE
35 select TRACE_IRQFLAGS 36 select TRACE_IRQFLAGS
36 select TRACING 37 select TRACING
37 select TRACER_MAX_TRACE 38 select TRACER_MAX_TRACE
@@ -54,6 +55,7 @@ config PREEMPT_TRACER
54 default n 55 default n
55 depends on GENERIC_TIME 56 depends on GENERIC_TIME
56 depends on PREEMPT 57 depends on PREEMPT
58 depends on HAVE_FTRACE
57 select TRACING 59 select TRACING
58 select TRACER_MAX_TRACE 60 select TRACER_MAX_TRACE
59 help 61 help
@@ -72,6 +74,7 @@ config PREEMPT_TRACER
72 74
73config SCHED_TRACER 75config SCHED_TRACER
74 bool "Scheduling Latency Tracer" 76 bool "Scheduling Latency Tracer"
77 depends on HAVE_FTRACE
75 select TRACING 78 select TRACING
76 select CONTEXT_SWITCH_TRACER 79 select CONTEXT_SWITCH_TRACER
77 select TRACER_MAX_TRACE 80 select TRACER_MAX_TRACE
@@ -81,6 +84,7 @@ config SCHED_TRACER
81 84
82config CONTEXT_SWITCH_TRACER 85config CONTEXT_SWITCH_TRACER
83 bool "Trace process context switches" 86 bool "Trace process context switches"
87 depends on HAVE_FTRACE
84 select TRACING 88 select TRACING
85 select MARKERS 89 select MARKERS
86 help 90 help