函数逻辑报告 | 
Source Code:kernel\tracepoint.c | 
Create Date:2022-07-27 12:55:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:func_add
函数原型:static struct tracepoint_func *func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, int prio)
返回类型:struct tracepoint_func
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct tracepoint_func ** | funcs | |
| struct tracepoint_func * | tp_func | |
| int | prio | 
| 133 | nr_probes等于0 | 
| 134 | pos等于负1 | 
| 139 | debug_print_probes( * funcs) | 
| 141 | 如果old则 | 
| 153 | new等于allocate_probes(nr_probes + 2) | 
| 156 | 如果old则 | 
| 157 | 如果pos小于0则 | 
| 160 | 否则 | 
| 167 | 否则pos等于0 | 
| 170 | func = NULL | 
| 172 | debug_print_probes( * funcs) | 
| 173 | 返回:old | 
| 名称 | 描述 | 
|---|---|
| tracepoint_add_func | Add the probe function to a tracepoint. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |