Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:53:51 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_update_pages
Proto:static void rb_update_pages(struct ring_buffer_per_cpu *cpu_buffer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
1687 | If g buffer pages to update, > 0 to add, < 0 to remove > 0 Then success = rb_insert_pages(cpu_buffer) |
1689 | Else success = rb_remove_pages(cpu_buffer, - g buffer pages to update, > 0 to add, < 0 to remove ) |
1693 | If success Then nr_pages += g buffer pages to update, > 0 to add, < 0 to remove |
Name | Describe |
---|---|
update_pages_handler | |
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. |
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 |