| commit | 602139b48ff200ff70d3cc69024c8d3664dd4b94 | [log] [tgz] |
|---|---|---|
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Dec 19 19:23:03 2017 -0500 |
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Dec 19 19:23:03 2017 -0500 |
| tree | 6febd0b17ea0bb3196e6cdf187bd5e068f41277c | |
| parent | 10e3e45197cf0507cfcfa1a5676b21371db13218 [diff] |
trace-cmd listen: Make sure to write everything that was read It is not guaranteed that everything that is read will be written in one write() call. Check the return status of write() and repeat the writes if necessary to make sure all that was read is written. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>