]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20e710a692305ae2b1621c333b48c8dda1d3db47
tree12d198a161c360ed900db504067a46c4662eb21a
parentccdc8bdd272a8c0c6423632711f2ae2e6f7c00e4
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