| Function report | 
| Source Code: kernel\trace\trace.c | Create Date:2022-07-28 12:00:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:trace_empty
Proto:int trace_empty(struct trace_iterator *iter)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_iterator * | iter | 
| 3927 | If cpu_file != RING_BUFFER_ALL_CPUS Then | 
| 3929 | buf_iter = trace_buffer_iter(iter, cpu) | 
| 3930 | If buf_iter Then | 
| 3931 | If Not g_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check Then Return 0 | 
| 3933 | Else | 
| 3937 | Return 1 | 
| 3940 | for_each_tracing_cpu(cpu) | 
| 3941 | buf_iter = trace_buffer_iter(iter, cpu) | 
| 3942 | If buf_iter Then | 
| 3943 | If Not g_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check Then Return 0 | 
| 3945 | Else | 
| 3951 | Return 1 | 
| Name | Describe | 
|---|---|
| trace_latency_header | |
| trace_default_header | |
| s_show | |
| tracing_wait_pipe | Must be called with iter->mutex held. | 
| tracing_read_pipe | Consumer reader. | 
| tracing_buffers_read | |
| ftrace_dump | |
| print_graph_headers_flags | 
| 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 |