Skip to content
Commit 4f3640f8 authored by Steven Rostedt's avatar Steven Rostedt
Browse files

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: default avatarSteven Rostedt <srostedt@redhat.com>
parent e543ad76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment