]> err.no Git - linux-2.6/commitdiff
ftrace: restrict tracing to HAVE_FTRACE architectures
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:20:55 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:15:29 +0000 (21:15 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/Kconfig

index ebc158e6d59a2e79616b346fa00894afe0973e72..f3005717bcd0ca3d7b4638ea92aedc8194dce636 100644 (file)
@@ -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