函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 13:01:06 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:g_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?*@buffer: The ring buffer*@cpu: The CPU buffer to test
函数原型:bool ring_buffer_empty_cpu(struct ring_buffer *buffer, int cpu)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu |
4488 | 如果非测试CPU信息则返回:true |
4491 | cpu_buffer等于buffers[cpu] |
4492 | local_irq_save(flags) |
4493 | dolock等于rb_reader_lock(cpu_buffer) |
4494 | ret等于rb_per_cpu_empty(cpu_buffer) |
4495 | rb_reader_unlock(cpu_buffer, dolock) |
4496 | local_irq_restore(flags) |
4498 | 返回:ret |
名称 | 描述 |
---|---|
ring_buffer_wait | g_buffer_wait - wait for input to the ring buffer*@buffer: buffer to wait on*@cpu: the cpu buffer to wait on*@full: wait until a full page is available, if @cpu != RING_BUFFER_ALL_CPUS* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon |
ring_buffer_poll_wait | g_buffer_poll_wait - poll on buffer input*@buffer: buffer to wait on*@cpu: the cpu buffer to wait on*@filp: the file descriptor*@poll_table: The poll descriptor* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon |
__find_next_entry | |
trace_empty |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |