函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:49 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:g_buffer_iter_peek - peek at the next event to be read*@iter: The ring buffer iterator*@ts: The timestamp counter of this event.* This will return the event that will be read next, but does* not increment the iterator.
函数原型:struct ring_buffer_event *ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts)
返回类型:struct ring_buffer_event
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_iter * | iter | |
u64 * | ts |
4117 | cpu_buffer等于cpu_buffer |
4121 | again : |
4122 | raw_spin_lock_irqsave( & serialize readers , flags) |
4123 | event等于rb_iter_peek(iter, ts) |
4124 | raw_spin_unlock_irqrestore( & serialize readers , flags) |
4126 | 如果event且type_len恒等于RINGBUF_TYPE_PADDING则转到:again |
4129 | 返回:event |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |