ring-buffer: Process commits whenever moving to a new page.
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 17 Nov 2015 21:36:06 +0000 (16:36 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 25 Nov 2015 20:24:05 +0000 (15:24 -0500)
commit4239c38fe0b3847e1e6d962c74b41b08ba0e2990
tree234c0d0be4a749956e455bf3f636f219d6e2389a
parent70004986ffdf36d8bc787403af2571aeeef96595
ring-buffer: Process commits whenever moving to a new page.

When crossing over to a new page, commit the current work. This will allow
readers to get data with less latency, and also simplifies the work to get
timestamps working for interrupted events.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c