]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ftrace: trace_pipe implement NONBLOCK
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:07 +0000 (21:47 +0200)
commit2dc8f09571a61d9cb3dc47bba6608689dfe15d16
tree5f23089a821ecff3ae9c57206b10d911f67cd279
parent845279972f1736c3463c9cebd1bad92a0a347176
ftrace: trace_pipe implement NONBLOCK

This patch implements "NONBLOCK" for trace_pipe. If the trace_pipe is opened
with O_NONBLOCK, then the trace_pipe read will not block when buffer is empty.

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