diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-29 09:50:29 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-29 10:17:18 -0400 |
commit | 01b2a52171735c6eea80ee2f355f32bea6c41418 (patch) | |
tree | daa9d3bb9f277cad521a324f7be355b077740122 /kernel/compat.c | |
parent | f3ddb74ad0790030c9592229fb14d8c451f4e9a8 (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