函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:49 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_check_pages - integrity check of buffer pages*@cpu_buffer: CPU buffer with pages to test* As a safety measure we check to make sure the data pages have not* been corrupted.
函数原型:static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
1160 | 如果ad from head 则rb_set_head_page(cpu_buffer) |
1165 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, 链表前项 != head)则返回:负1 |
1167 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, 链表后项 != head)则返回:负1 |
1174 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, 链表前项 != & list of buffer pages )则返回:负1 |
1177 | 如果uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, 链表后项 != & list of buffer pages )则返回:负1 |
1186 | 返回:0 |
名称 | 描述 |
---|---|
rb_allocate_pages | |
ring_buffer_resize | g_buffer_resize - resize the ring buffer*@buffer: the buffer to resize.*@size: the new size.*@cpu_id: the cpu buffer to resize* Minimum size is 2 * BUF_PAGE_SIZE.* Returns 0 on success and < 0 on failure. |
ring_buffer_read_finish | g_buffer_read_finish - finish reading the iterator of the buffer*@iter: The iterator retrieved by ring_buffer_start* This re-enables the recording to the buffer, and frees the* iterator. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |