aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_selftest.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:48 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 17:40:01 -0400
commitef4ab15ff34fd9c65e92bee70f58e7179da881c5 (patch)
tree6d0ed3900e7095aa60f74cc5e0cb54f8efb54c1e /kernel/trace/trace_selftest.c
parent842af315e8b0adad58fc642eaa5e6f53525e0534 (diff)
ftrace: make sysprof dependent on x86 for now
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>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r--kernel/trace/trace_selftest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
index 033a6fb2e5ff..5588ecc40985 100644
--- a/kernel/trace/trace_selftest.c
+++ b/kernel/trace/trace_selftest.c
@@ -557,11 +557,6 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr)
557 ret = trace_test_buffer(tr, &count); 557 ret = trace_test_buffer(tr, &count);
558 trace->reset(tr); 558 trace->reset(tr);
559 559
560 if (!ret && !count) {
561 printk(KERN_CONT ".. no entries found ..");
562 ret = -1;
563 }
564
565 return ret; 560 return ret;
566} 561}
567#endif /* CONFIG_SYSPROF_TRACER */ 562#endif /* CONFIG_SYSPROF_TRACER */