函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:12 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return the length of the given event. Will return* the length of the time extend if the event is a* time extend.
函数原型:static inline unsigned rb_event_length(struct ring_buffer_event *event)
返回类型:unsigned
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_event * | event |
181 | 当:type_len恒等于RINGBUF_TYPE_PADDING |
182 | 如果rb_null_event(event)则返回:负1 |
185 | 返回:array[0]加RB_EVNT_HDR_SIZE |
188 | 返回:RB_LEN_TIME_EXTEND |
190 | 当:type_len恒等于RINGBUF_TYPE_TIME_STAMP |
191 | 返回:RB_LEN_TIME_STAMP |
194 | 返回:rb_event_data_length(event) |
195 | 默认 |
196 | BUG() |
199 | 返回:0 |
名称 | 描述 |
---|---|
rb_event_ts_length | Return total length of time extend and data,* or just the event length for all other events. |
ring_buffer_event_length | 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 |
rb_try_to_discard | |
rb_advance_reader | |
rb_advance_iter | |
ring_buffer_read_page | g_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |