函数逻辑报告 | 
Source Code:kernel\trace\trace.h | 
Create Date:2022-07-27 12:56:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:trace_test_and_set_recursion
函数原型:static __always_inline int trace_test_and_set_recursion(int start, int max)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | start | |
| int | max | 
| 648 | val等于trace_recursion | 
| 652 | 如果val按位与TRACE_CONTEXT_MASK的值大于max则返回:0 | 
| 655 | bit等于trace_get_context_bit()加start | 
| 656 | 如果此条件成立可能性小(为编译器优化)(val & (1 << bit))则返回:负1 | 
| 660 | trace_recursion等于val | 
| 663 | 返回:bit | 
| 名称 | 描述 | 
|---|---|
| function_trace_call | |
| __ftrace_ops_list_func | |
| ftrace_ops_assist_func | If there's only one function registered but it does not support* recursion, needs RCU protection and/or requires per cpu handling, then* this function will be called by the mcount trampoline. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |