diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-09-27 19:15:27 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-09-28 20:28:13 -0400 |
commit | f3ddb74ad0790030c9592229fb14d8c451f4e9a8 (patch) | |
tree | 1bca8a772c02e57ee8ca5db7f393ce5a6fabaea5 /lib/mpi/mpi-sub-ui.c | |
parent | 7e9fbbb1b776d8d7969551565bc246f74ec53b27 (diff) |
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/[email protected]
Cc: [email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Fixes: e30f53aad2202 ("tracing: Do not busy wait in buffer splice")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions