summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:20:48 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 23:40:01 +0200
commitef4ab15ff34fd9c65e92bee70f58e7179da881c5 (patch)
tree6d0ed3900e7095aa60f74cc5e0cb54f8efb54c1e /kernel
parent842af315e8b0adad58fc642eaa5e6f53525e0534 (diff)
downloadop-kernel-dev-ef4ab15ff34fd9c65e92bee70f58e7179da881c5.zip
op-kernel-dev-ef4ab15ff34fd9c65e92bee70f58e7179da881c5.tar.gz
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')
-rw-r--r--kernel/trace/Kconfig2
-rw-r--r--kernel/trace/trace_selftest.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index e101c9a..9b49526 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -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
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
index 033a6fb..5588ecc 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)
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 */
OpenPOWER on IntegriCloud