ftrace: allow trace_pipe to block on all reads
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:39 +0000 (21:46 +0200)
commit8487c23765b6e0444ec6b5f1530766d63fe68e35
tree5b3eb6b2361dc756dd3e22173e1d508923700fad
parentd17d969160c18b631a19c2b34d260691402650f8
ftrace: allow trace_pipe to block on all reads

We expect things like "cat" to block on reads to trace_pipe. That's what
trace_pipe is for.

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