Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:55:26 |
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_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.
Proto:struct ring_buffer_event *ring_buffer_read(struct ring_buffer_iter *iter, u64 *ts)
Type:struct ring_buffer_event
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_iter * | iter | |
u64 * | ts |
4311 | cpu_buffer = cpu_buffer |
4314 | raw_spin_lock_irqsave( & serialize readers , flags) |
4315 | again : |
4316 | event = rb_iter_peek(iter, ts) |
4320 | If type_len == RINGBUF_TYPE_PADDING Then Go to again |
4323 | rb_advance_iter(iter) |
4324 | out : |
4325 | raw_spin_unlock_irqrestore( & serialize readers , flags) |
4327 | Return event |
Name | Describe |
---|---|
trace_iterator_increment | |
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 |