Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:53:15 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_is_head_page - test if the given page is the head page* Because the reader may move the head_page pointer, we can* not trust what the head page is (it may be pointing to* the reader page). But if the next page is a header page,
Proto:static inline int rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *page, struct list_head *list)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct buffer_page * | page | |
struct list_head * | list |
876 | If ((val & ~RB_FLAG_MASK) != (unsigned long) & list of buffer pages ) Then Return PAGE_MOVED is not part of the mask |
879 | Return val & RB_FLAG_MASK |
Name | Describe |
---|---|
rb_set_head_page | |
rb_move_tail | This is the slow path, force gcc not to inline it. |
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 |