函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:00:11 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_per_cpu_empty
函数原型:static bool rb_per_cpu_empty(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
3173 | reader等于reader_page |
3174 | head等于rb_set_head_page(cpu_buffer) |
3175 | commit等于committed pages |
3178 | 如果此条件成立可能性小(为编译器优化)(!head)则返回:true |
3181 | 返回:dex for next read 恒等于rb_page_commit(reader)且commit恒等于reader或commit恒等于head且dex for next read 恒等于rb_page_commit(commit)的值 |
名称 | 描述 |
---|---|
rb_iter_peek | |
ring_buffer_empty | d_buffer_empty - is the ring buffer empty?*@buffer: The ring buffer to test |
ring_buffer_empty_cpu | g_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?*@buffer: The ring buffer*@cpu: The CPU buffer to test |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |