函数逻辑报告 |
Source Code:kernel\trace\trace_functions.c |
Create Date:2022-07-27 13:15:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:func_set_flag
函数原型:static int func_set_flag(struct trace_array *tr, unsigned int old_flags, unsigned int bit, int set)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct trace_array * | tr | |
| unsigned int | old_flags | |
| unsigned int | bit | |
| int | set |
| 239 | 当:bit恒等于TRACE_FUNC_OPT_STACK |
| 241 | 如果非非set恒等于非非val按位与TRACE_FUNC_OPT_STACK的值则退出 |
| 245 | 如果current_trace不等于function_trace则退出 |
| 250 | 如果set则 |
| 253 | 否则 |
| 254 | func等于function_trace_call |
| 258 | 退出 |
| 259 | 默认 |
| 260 | 返回:负EINVAL |
| 263 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |