Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:53:28 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_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.
Proto:static int rb_check_pages(struct ring_buffer_per_cpu *cpu_buffer)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
1160 | If ad from head Then rb_set_head_page(cpu_buffer) |
1165 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, prev != head) Then Return -1 |
1167 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, next != head) Then Return -1 |
1170 | If _check_list - make sure a pointer to a list has the last bits zero Then Return -1 |
1174 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, prev != & list of buffer pages ) Then Return -1 |
1177 | If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, next != & list of buffer pages ) Then Return -1 |
1180 | If _check_list - make sure a pointer to a list has the last bits zero Then Return -1 |
1186 | Return 0 |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |