aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2022-09-28 13:39:38 -0400
committerSteven Rostedt (Google) <[email protected]>2022-09-28 20:27:43 -0400
commit7e9fbbb1b776d8d7969551565bc246f74ec53b27 (patch)
tree311e8e3c86f82d2fb75186f566d3a719b36cb410 /lib/mpi/mpi-sub-ui.c
parentec0bbc5ec5664dcee344f79373852117dc672c86 (diff)
ring-buffer: Add ring_buffer_wake_waiters()
On closing of a file that represents a ring buffer or flushing the file, there may be waiters on the ring buffer that needs to be woken up and exit the ring_buffer_wait() function. Add ring_buffer_wake_waiters() to wake up the waiters on the ring buffer and allow them to exit the wait loop. Link: https://lkml.kernel.org/r/[email protected] Cc: [email protected] Cc: Ingo Molnar <[email protected]> Cc: Andrew Morton <[email protected]> Fixes: 15693458c4bc0 ("tracing/ring-buffer: Move poll wake ups into ring buffer code") Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions