Re: [PATCH trace-cmd 2/2] trace-recorder: better error handling during copy

2016-03-23 Thread Peter Xu
On Tue, Mar 22, 2016 at 09:19:56AM -0400, Steven Rostedt wrote: > On Tue, 22 Mar 2016 09:14:33 -0400 > Peter Xu wrote: > > > Currently we have two ways to copy data, one is splice, one is read + > > write. For both, dump more information when we got errors during the > > copy. Also, when we updat

Re: [PATCH trace-cmd 2/2] trace-recorder: better error handling during copy

2016-03-22 Thread Steven Rostedt
On Tue, 22 Mar 2016 09:14:33 -0400 Peter Xu wrote: > Currently we have two ways to copy data, one is splice, one is read + > write. For both, dump more information when we got errors during the > copy. Also, when we update_fd(), we should make sure all bytes written, > and update written bytes on