Skip to content

Commit

Permalink
ftrace: make sysprof dependent on x86 for now
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar authored and Thomas Gleixner committed May 23, 2008
1 parent 842af31 commit ef4ab15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions kernel/trace/trace_selftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit ef4ab15

Please sign in to comment.