函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:38 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_advance_iter
函数原型:static void rb_advance_iter(struct ring_buffer_iter *iter)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_iter * | iter |
3835 | cpu_buffer等于cpu_buffer |
3840 | 如果head大于等于Size is determined by what has been committed 则 |
3848 | event等于rb_iter_head_event(iter) |
3850 | length等于Return the length of the given event. Will return* the length of the time extend if the event is a* time extend. |
3856 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, (head_page == committed pages ) && (head + length > rb_commit_index(cpu_buffer)))则返回 |
3861 | rb_update_iter_read_stamp(iter, event) |
3866 | 如果head大于等于Size is determined by what has been committed 且head_page不等于committed pages 则rb_inc_iter(iter) |
名称 | 描述 |
---|---|
rb_iter_peek | |
ring_buffer_read | g_buffer_read - read the next item in the ring buffer by the iterator*@iter: The ring buffer iterator*@ts: The time stamp of the event read.* This reads the next event in the ring buffer and increments the iterator. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |