Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:14 |
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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
Proto:static void rb_update_event(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event, struct rb_event_info *info)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ring_buffer_per_cpu * | cpu_buffer | |
| struct ring_buffer_event * | event | |
| struct rb_event_info * | info |
| 2351 | If Value for the false possibility is greater at compile time(!rb_event_is_commit(cpu_buffer, event)) Then delta = 0 |
| 2359 | abs = ring_buffer_time_stamp_abs(buffer) |
| 2361 | event = Slow path, do not inline |
| 2362 | length -= RB_LEN_TIME_EXTEND |
| 2363 | delta = 0 |
| 2366 | time_delta = delta |
| 2367 | length -= RB_EVNT_HDR_SIZE |
| 2368 | If length > RB_MAX_SMALL_DATA Then |
| 2371 | Else type_len = DIV_ROUND_UP(length, RB_ALIGNMENT) |
| Name | Describe |
|---|---|
| __rb_reserve_next |
| 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 |