From: Steven Rostedt Date: Wed, 4 Mar 2009 04:52:42 +0000 (-0500) Subject: ring-buffer: fix timestamp in partial ring_buffer_page_read X-Git-Tag: v2.6.30-rc1~2^2~69^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f3640f8a358f2183a8c966f299eeb55ca523e06;p=pandora-kernel.git ring-buffer: fix timestamp in partial ring_buffer_page_read If a partial ring_buffer_page_read happens, then some of the incremental timestamps may be lost. This patch writes the recent timestamp into the page that is passed back to the caller. A partial ring_buffer_page_read is where the full page would not be written back to the user, and instead, just part of the page is copied to the user. A full page would be a page swap with the ring buffer and the timestamps would be correct. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed