]> git.baikalelectronics.ru Git - 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)
commitfda54aca96118c89f05600bd8a4e2997d7f9610c
tree5f23089a821ecff3ae9c57206b10d911f67cd279
parent698d63e26bbc5bc1d9d0d93b91893f4981604276
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