Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:55:09 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_advance_iter
Proto:static void rb_advance_iter(struct ring_buffer_iter *iter)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_iter * | iter |
3835 | cpu_buffer = cpu_buffer |
3840 | If head >= Size is determined by what has been committed Then |
3848 | event = rb_iter_head_event(iter) |
3850 | length = Return the length of the given event. Will return* the length of the time extend if the event is a* time extend. |
3856 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, (head_page == committed pages ) && (head + length > rb_commit_index(cpu_buffer))) Then Return |
3861 | rb_update_iter_read_stamp(iter, event) |
3866 | If head >= Size is determined by what has been committed && head_page != committed pages Then rb_inc_iter(iter) |
Name | Describe |
---|---|
rb_iter_peek | |
ring_buffer_read | g_buffer_read - read the next item in the ring buffer by the iterator*@iter: The ring buffer iterator*@ts: The time stamp of the event read.* This reads the next event in the ring buffer and increments the iterator. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |