From: Julien Desfossez Date: Tue, 13 Aug 2013 21:40:28 +0000 (-0400) Subject: Fix: reset out_fd_offset when we rotate the trace file X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=a1ae300ff3a139f4d4f593eddf444b0fca52280f;hp=a1ae300ff3a139f4d4f593eddf444b0fca52280f Fix: reset out_fd_offset when we rotate the trace file This value is only used for the sync_file_range, but it has to be set to 0 when we start to write in a new trace file, otherwise the values passed to this call are bogus. Applied to 2.3, but could probably be backported to 2.2. Acked-by: Mathieu Desnoyers Signed-off-by: Julien Desfossez Signed-off-by: David Goulet ---