]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: make ftrace_printk usable with the other tracers
authorPeter Zijlstra <peterz@infradead.org>
Thu, 4 Sep 2008 08:24:14 +0000 (10:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:45 +0000 (10:36 +0200)
commitf09ce573f57ddc35c67b39e51f34545877b30031
tree776620a03aa55eecf5497b2a2a8027de6d819624
parent5a90f577e5369a84b720ead42e621fcb1b8a8b21
ftrace: make ftrace_printk usable with the other tracers

Currently ftrace_printk only works with the ftrace tracer, switch it to an
iter_ctrl setting so we can make us of them with other tracers too.

[rostedt@redhat.com: tweak to the disable condition]

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
kernel/trace/trace.h