commit | 98901ac6bbc7ca2b94fa95bd84b426ba5483c9c0 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Dec 19 19:10:21 2017 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Dec 19 19:10:21 2017 -0500 |
tree | 97921b4b92c15d11bfe7240b8928570f3189239a | |
parent | 8b011cf2648daa7bc6b69348db678d8bbc763a9a [diff] |
trace-cmd recorder: Make sure to write as much as was read in read_data() It is possible that the write() call in read_data() may not write as much as what was read. In that case, loop to make sure all the data that was read is written to the output. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>