函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:14 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:unsigned ring_buffer_event_length(struct ring_buffer_event *event)
返回类型:unsigned
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_event * | event |
233 | 如果extended_time(event)则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 | 如果type_len大于RINGBUF_TYPE_DATA_TYPE_LEN_MAX则返回:length |
239 | length减等于RB_EVNT_HDR_SIZE |
240 | 如果length大于RB_MAX_SMALL_DATA加array[0]的长度则length减等于array[0]的长度 |
242 | 返回:length |
名称 | 描述 |
---|---|
trace_process_export | |
peek_next_entry |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |