Function report |
Source Code:kernel\trace\trace_functions.c |
Create Date:2022-07-28 12:08:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:func_set_flag
Proto:static int func_set_flag(struct trace_array *tr, unsigned int old_flags, unsigned int bit, int set)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr | |
| unsigned int | old_flags | |
| unsigned int | bit | |
| int | set |
| 239 | Case bit == TRACE_FUNC_OPT_STACK |
| 241 | If Not Not set == Not Not (val & TRACE_FUNC_OPT_STACK) Then Break |
| 245 | If current_trace != function_trace Then Break |
| 250 | If set Then |
| 253 | Else |
| 254 | func = function_trace_call |
| 258 | Break |
| 259 | Default |
| 260 | Return -EINVAL |
| 263 | Return 0 |
| 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 |