| Function report | 
| Source Code: kernel\trace\trace.c | Create Date:2022-07-28 12:00:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:trace_set_options
Proto:static int trace_set_options(struct trace_array *tr, char *option)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_array * | tr | |
| char * | option | 
| 4748 | neg = 0 | 
| 4761 | mutex_lock( & event_mutex) | 
| 4766 | If ret < 0 Then ret = Try to assign a tracer specific option | 
| 4768 | Else ret = set_tracer_flag(tr, 1 << ret, !neg) | 
| 4778 | If orig_len > strlen - Find the length of a string*@s: The string to be sized Then option[strlen - Find the length of a string*@s: The string to be sized] = ' ' | 
| 4781 | Return ret | 
| Name | Describe | 
|---|---|
| apply_trace_boot_options | |
| tracing_trace_options_write | 
| 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 |