Commit ef4ab15f authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 842af315
...@@ -77,7 +77,7 @@ config PREEMPT_TRACER ...@@ -77,7 +77,7 @@ config PREEMPT_TRACER
config SYSPROF_TRACER config SYSPROF_TRACER
bool "Sysprof Tracer" bool "Sysprof Tracer"
depends on DEBUG_KERNEL depends on DEBUG_KERNEL && X86
select TRACING select TRACING
help help
This tracer provides the trace needed by the 'Sysprof' userspace This tracer provides the trace needed by the 'Sysprof' userspace
......
...@@ -557,11 +557,6 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr) ...@@ -557,11 +557,6 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr)
ret = trace_test_buffer(tr, &count); ret = trace_test_buffer(tr, &count);
trace->reset(tr); trace->reset(tr);
if (!ret && !count) {
printk(KERN_CONT ".. no entries found ..");
ret = -1;
}
return ret; return ret;
} }
#endif /* CONFIG_SYSPROF_TRACER */ #endif /* CONFIG_SYSPROF_TRACER */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment