Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:55:00 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_update_read_stamp
Proto:static void rb_update_read_stamp(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct ring_buffer_event * | event |
3618 | Case type_len == RINGBUF_TYPE_PADDING |
3619 | Return |
3621 | Case type_len == RINGBUF_TYPE_TIME_EXTEND |
3622 | delta = g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event |
3623 | read_stamp += delta |
3624 | Return |
3626 | Case type_len == RINGBUF_TYPE_TIME_STAMP |
3627 | delta = g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event |
3628 | read_stamp = delta |
3629 | Return |
3632 | read_stamp += time_delta |
3633 | Return |
3635 | Default |
3636 | BUG() |
3638 | Return |
Name | Describe |
---|---|
rb_advance_reader |
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 |