commit | afbab76a62b69ea6197e19727d4b8a8aef8deb25 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Fri May 01 19:40:05 2009 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue May 05 16:58:24 2009 -0400 |
tree | cfde06582fb3dbb7f8c00c7d1a8a57b0b0e9d0d1 | |
parent | 778c55d44eb4f5f658915ed631d68ed9d1ac3ad1 [diff] |
ring-buffer: have read page swap increment counter with page entries In the swap page ring buffer code that is used by the ftrace splice code, we scan the page to increment the counter of entries read. With the number of entries already in the page we simply need to add it. [ Impact: speed up reading page from ring buffer ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>