diff options
| author | Lai Jiangshan <[email protected]> | 2009-02-09 14:21:17 +0800 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2009-02-10 09:17:37 -0500 |
| commit | 667d24125839b6f3363d8177d7ed9fab8a40e45f (patch) | |
| tree | be090ba5c44386556c143348b83266230ad4fb47 /include/linux/debugobjects.h | |
| parent | b85fa01ed958ca59523a2db3c2ee647b98745d6a (diff) | |
ring_buffer: fix ring_buffer_read_page()
Impact: change API and init bpage when copy
ring_buffer_read_page()/rb_remove_entries() may be called for
a partially consumed page.
Add a parameter for rb_remove_entries() and make it update
cpu_buffer->entries correctly for partially consumed pages.
ring_buffer_read_page() now returns the offset to the next event.
Init the bpage's time_stamp when return value is 0.
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions