]> err.no Git - linux-2.6/commit
ftrace: return EOF in trace_pipe on change of tracer
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:47:01 +0000 (21:47 +0200)
commit845279972f1736c3463c9cebd1bad92a0a347176
treef71598851ca347068940ecce23458cad06120f6d
parentb5685aede3b7b65e72ddc73b951aa1f70798a614
ftrace: return EOF in trace_pipe on change of tracer

Break out of while loop with EOF when the current_trace changes.

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