commit | 2c2b0a78b373908926e4683ea5571332f63c0eb5 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Nov 29 20:32:26 2018 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Sat Dec 08 20:54:08 2018 -0500 |
tree | 4ffbcfc1abdc5569e7f444425c86948f1cd2426c | |
parent | 9c8e2f6d3d361439cc6744a094f1c15681b55269 [diff] |
ring-buffer: Add percentage of ring buffer full to wake up reader Instead of just waiting for a page to be full before waking up a pending reader, allow the reader to pass in a "percentage" of pages that have content before waking up a reader. This should help keep the process of reading the events not cause wake ups that constantly cause reading of the buffer. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>