]> Pileus Git - ~andy/linux/commitdiff
ftrace: make sysprof dependent on x86 for now
authorIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:20:48 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 21:40:01 +0000 (23:40 +0200)
that's the only tested platform for now. If there's interest we
can make it generic easily.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/Kconfig
kernel/trace/trace_selftest.c

index e101c9a85f0f43b423674ef6ed30f42a21ae3169..9b49526ac0b50866ff53afdb7e2f73f79ec5b961 100644 (file)
@@ -77,7 +77,7 @@ config PREEMPT_TRACER
 
 config SYSPROF_TRACER
        bool "Sysprof Tracer"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && X86
        select TRACING
        help
          This tracer provides the trace needed by the 'Sysprof' userspace
index 033a6fb2e5ff96371fd6c60d9c80dbf03a9cb734..5588ecc40985fb394c66fe19f0fa99cab28e8122 100644 (file)
@@ -557,11 +557,6 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr)
        ret = trace_test_buffer(tr, &count);
        trace->reset(tr);
 
-       if (!ret && !count) {
-               printk(KERN_CONT ".. no entries found ..");
-               ret = -1;
-       }
-
        return ret;
 }
 #endif /* CONFIG_SYSPROF_TRACER */