Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:12 |
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Slow path, do not inline
Proto:static noinline struct ring_buffer_event *rb_add_time_stamp(struct ring_buffer_event *event, u64 delta, bool abs)
Type:struct ring_buffer_event
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ring_buffer_event * | event | |
| u64 | delta | |
| bool | abs |
| 2310 | If abs Then type_len = RINGBUF_TYPE_TIME_STAMP |
| 2312 | Else type_len = RINGBUF_TYPE_TIME_EXTEND |
| 2316 | If abs || rb_event_index(event) Then |
| 2319 | Else |
| 2321 | time_delta = 0 |
| 2322 | array[0] = 0 |
| 2325 | Return skip_time_extend(event) |
| Name | Describe |
|---|---|
| rb_update_event | _update_event - update event type and data*@event: the event to update*@type: the type of event*@length: the size of the event field in the ring buffer* Update the type and data fields of the event |
| 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 |