]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/trace.c
tracing: Move pipe waiting code out of tracing_read_pipe().
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Mon, 9 Feb 2009 06:15:55 +0000 (08:15 +0200)
committerSteven Rostedt <srostedt@redhat.com>
Mon, 9 Feb 2009 17:24:51 +0000 (12:24 -0500)
commitff98781bab2735e6c89793034173e0cb5007a7e5
treee79e4c329896018cd9ca97192292632ad7c43007
parent3c56819b14b00dd449bd776303e61f8532fad09f
tracing: Move pipe waiting code out of tracing_read_pipe().

This moves the pipe waiting code from tracing_read_pipe() into
tracing_wait_pipe(), which is useful to implement other fops, like
splice_read.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c