函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:36 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_advance_reader
函数原型:static void rb_advance_reader(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
3812 | reader等于rb_get_reader_page(cpu_buffer) |
3818 | event等于rb_reader_event(cpu_buffer) |
3820 | 如果type_len小于等于RINGBUF_TYPE_DATA_TYPE_LEN_MAX则read自加 |
3823 | rb_update_read_stamp(cpu_buffer, event) |
3825 | length等于Return the length of the given event. Will return* the length of the time extend if the event is a* time extend. |
3826 | dex for next read 加等于length |
名称 | 描述 |
---|---|
rb_buffer_peek | |
ring_buffer_peek | g_buffer_peek - peek at the next event to be read*@buffer: The ring buffer to read*@cpu: The cpu to peak at*@ts: The timestamp counter of this event |
ring_buffer_consume | g_buffer_consume - return an event and consume it*@buffer: The ring buffer to get the next event from*@cpu: the cpu to read the buffer from*@ts: a variable to store the timestamp (may be NULL)*@lost_events: a variable to store if events were lost (may be |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |