Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:55:20 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:g_buffer_iter_peek - peek at the next event to be read*@iter: The ring buffer iterator*@ts: The timestamp counter of this event.* This will return the event that will be read next, but does* not increment the iterator.
Proto:struct ring_buffer_event *ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts)
Type:struct ring_buffer_event
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_iter * | iter | |
u64 * | ts |
4117 | cpu_buffer = cpu_buffer |
4121 | again : |
4122 | raw_spin_lock_irqsave( & serialize readers , flags) |
4123 | event = rb_iter_peek(iter, ts) |
4124 | raw_spin_unlock_irqrestore( & serialize readers , flags) |
4126 | If event && type_len == RINGBUF_TYPE_PADDING Then Go to again |
4129 | Return event |
Name | Describe |
---|---|
peek_next_entry | |
tracing_iter_reset | |
get_return_for_leaf |
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 |