From: Steven Rostedt Date: Thu, 28 Feb 2013 18:44:11 +0000 (-0500) Subject: tracing: Fix read blocking on trace_pipe_raw X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b627344fef0c38fa4e3050348e168e46db87c905;p=pandora-kernel.git tracing: Fix read blocking on trace_pipe_raw If the ring buffer is empty, a read to trace_pipe_raw wont block. The tracing code has the infrastructure to wake up waiting readers, but the trace_pipe_raw doesn't take advantage of that. When a read is done to trace_pipe_raw without the O_NONBLOCK flag set, have the read block until there's data in the requested buffer. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed