Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:52:55 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:g_buffer_event_length - return the length of the event*@event: the event to get the length of* Returns the size of the data load of a data event.* If the event is something other than a data event, it* returns the size of the event itself
Proto:unsigned ring_buffer_event_length(struct ring_buffer_event *event)
Type:unsigned
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_event * | event |
233 | If extended_time(event) Then event = skip_time_extend(event) |
236 | length = Return the length of the given event. Will return* the length of the time extend if the event is a* time extend. |
237 | If type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX Then Return length |
239 | length -= RB_EVNT_HDR_SIZE |
240 | If length > RB_MAX_SMALL_DATA + size of array[0] Then length -= size of array[0] |
242 | Return length |
Name | Describe |
---|---|
trace_process_export | |
peek_next_entry |
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 |