summaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2022-09-29 09:50:29 -0400
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-09-29 10:17:18 -0400
commit01b2a52171735c6eea80ee2f355f32bea6c41418 (patch)
treedaa9d3bb9f277cad521a324f7be355b077740122 /kernel/compat.c
parentf3ddb74ad0790030c9592229fb14d8c451f4e9a8 (diff)
tracing: Add ioctl() to force ring buffer waiters to wake up
If a process is waiting on the ring buffer for data, there currently isn't a clean way to force it to wake up. Add an ioctl call that will force any tasks that are waiting on the trace_pipe_raw file to wake up. Link: https://lkml.kernel.org/r/20220929095029.117f913f@gandalf.local.home Cc: stable@vger.kernel.org Cc: Ingo Molnar <mingo@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Fixes: e30f53aad2202 ("tracing: Do not busy wait in buffer splice") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions