Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:15 |
| Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_calculate_event_length
Proto:static unsigned rb_calculate_event_length(unsigned length)
Type:unsigned
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned | length |
| 2383 | If length > RB_MAX_SMALL_DATA Then length += size of array[0] |
| 2386 | length += RB_EVNT_HDR_SIZE |
| 2387 | length = @a is a power of 2 value (length, RB_ALIGNMENT) |
| 2401 | If length == RB_LEN_TIME_EXTEND + RB_ALIGNMENT Then length += RB_ALIGNMENT |
| 2404 | Return length |
| Name | Describe |
|---|---|
| rb_reserve_next_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 |