diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-05-02 01:40:05 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-05-05 22:58:24 +0200 |
commit | afbab76a62b69ea6197e19727d4b8a8aef8deb25 (patch) | |
tree | cfde06582fb3dbb7f8c00c7d1a8a57b0b0e9d0d1 /scripts | |
parent | ring-buffer: record page entries in buffer page descriptor (diff) | |
download | linux-afbab76a62b69ea6197e19727d4b8a8aef8deb25.tar.xz linux-afbab76a62b69ea6197e19727d4b8a8aef8deb25.zip |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions