函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:25 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:g_buffer_nr_pages_dirty - get the number of used pages in the ring buffer*@buffer: The ring_buffer to get the number of pages from*@cpu: The cpu of the ring_buffer to get the number of pages from
函数原型:size_t ring_buffer_nr_dirty_pages(struct ring_buffer *buffer, int cpu)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu |
538 | read等于local_read( & pages_read) |
539 | cnt等于local_read( & pages_touched) |
542 | WARN_ON_ONCE(read > cnt + 1) |
543 | 返回:0 |
名称 | 描述 |
---|---|
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 |
rb_wakeups |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |