Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:44 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_per_cpu_empty
Proto:static bool rb_per_cpu_empty(struct ring_buffer_per_cpu *cpu_buffer)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer |
3173 | reader = reader_page |
3174 | head = rb_set_head_page(cpu_buffer) |
3175 | commit = committed pages |
3178 | If Value for the false possibility is greater at compile time(!head) Then Return true |
3181 | Return dex for next read == rb_page_commit(reader) && ( commit == reader || commit == head && dex for next read == rb_page_commit(commit) ) |
Name | Describe |
---|---|
rb_iter_peek | |
ring_buffer_empty | d_buffer_empty - is the ring buffer empty?*@buffer: The ring buffer to test |
ring_buffer_empty_cpu | g_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?*@buffer: The ring buffer*@cpu: The CPU buffer to test |
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 |