ftrace: restore iterator trace in pipe read
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:20:58 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:46:53 +0000 (21:46 +0200)
commitb5685aede3b7b65e72ddc73b951aa1f70798a614
tree12d198a161c360ed900db504067a46c4662eb21a
parent8487c23765b6e0444ec6b5f1530766d63fe68e35
ftrace: restore iterator trace in pipe read

The trace iterator is reset in the read. We still need to restore the tracer
that the trace_pipe was opened with.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c