aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:20:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 21:15:29 +0200
commitc1d2327b36f2261ffa8ff7227321ba900c7eee7f (patch)
tree2d09d1fe2e07c097b18c2573bd03189cffa82e71 /kernel/trace
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')
-rw-r--r--kernel/trace/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index ebc158e6d59..f3005717bcd 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -32,6 +32,7 @@ config IRQSOFF_TRACER
default n
depends on TRACE_IRQFLAGS_SUPPORT
depends on GENERIC_TIME
+ depends on HAVE_FTRACE
select TRACE_IRQFLAGS
select TRACING
select TRACER_MAX_TRACE
@@ -54,6 +55,7 @@ config PREEMPT_TRACER
default n
depends on GENERIC_TIME
depends on PREEMPT
+ depends on HAVE_FTRACE
select TRACING
select TRACER_MAX_TRACE
help
@@ -72,6 +74,7 @@ config PREEMPT_TRACER
config SCHED_TRACER
bool "Scheduling Latency Tracer"
+ depends on HAVE_FTRACE
select TRACING
select CONTEXT_SWITCH_TRACER
select TRACER_MAX_TRACE
@@ -81,6 +84,7 @@ config SCHED_TRACER
config CONTEXT_SWITCH_TRACER
bool "Trace process context switches"
+ depends on HAVE_FTRACE
select TRACING
select MARKERS
help