Function report | 
Source Code:kernel\trace\trace.c | 
Create Date:2022-07-28 12:03:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:create_trace_option_files
Proto:static void create_trace_option_files(struct trace_array *tr, struct tracer *tracer)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_array * | tr | |
| struct tracer * | tracer | 
| 8175 | If Not tracer Then Return | 
| 8187 | If Not Some tracers are not suitable for instance buffers.* A tracer is always available for the global array (toplevel)* or if it explicitly states that it is. Then Return | 
| 8192 | If WARN_ON_ONCE(flags == flags) Then Return | 
| 8202 | If Not topts Then Return | 
| 8207 | If Not tr_topts Then | 
| 8215 | nr_topts++ | 
| 8217 | When Will appear on the trace_options file cycle | 
| 8220 | WARN_ONCE(entry == NULL, "Failed to create trace option: %s", Will appear on the trace_options file ) | 
| Name | Describe | 
|---|---|
| add_tracer_options | 
| 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  |