diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-27 19:15:27 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-28 20:28:13 -0400 |
commit | f3ddb74ad0790030c9592229fb14d8c451f4e9a8 (patch) | |
tree | 1bca8a772c02e57ee8ca5db7f393ce5a6fabaea5 /kernel/trace/kprobe_event_gen_test.c | |
parent | 7e9fbbb1b776d8d7969551565bc246f74ec53b27 (diff) | |
download | linux-f3ddb74ad0790030c9592229fb14d8c451f4e9a8.tar.bz2 |
tracing: Wake up ring buffer waiters on closing of the file
When the file that represents the ring buffer is closed, there may be
waiters waiting on more input from the ring buffer. Call
ring_buffer_wake_waiters() to wake up any waiters when the file is
closed.
Link: https://lkml.kernel.org/r/20220927231825.182416969@goodmis.org
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/trace/kprobe_event_gen_test.c')
0 files changed, 0 insertions, 0 deletions