Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:23 |
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_write_stamp
Proto:static __always_inline void rb_update_write_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 |
2584 | If rb_event_is_commit(cpu_buffer, event) Then |
2589 | If Not rb_event_index(event) Then write_stamp = page time stamp |
2592 | Else if type_len == RINGBUF_TYPE_TIME_EXTEND Then |
2593 | 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 |
2594 | write_stamp += delta |
2595 | Else if type_len == RINGBUF_TYPE_TIME_STAMP Then |
2596 | 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 |
2597 | write_stamp = delta |
2598 | Else write_stamp += time_delta |
Name | Describe |
---|---|
rb_commit | |
ring_buffer_discard_commit | g_buffer_commit_discard - discard an event that has not been committed*@buffer: the ring buffer*@event: non committed event to discard* Sometimes an event that is in the ring buffer needs to be ignored |
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 |