函数逻辑报告 |
Source Code:kernel\trace\trace_probe.c |
Create Date:2022-07-27 13:53:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:find_fetch_type
函数原型:static const struct fetch_type *find_fetch_type(const char *type)
返回类型:struct fetch_type
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | type |
| 105 | 如果非type则type等于DEFAULT_FETCH_TYPE_STR |
| 109 | 如果type恒等于'b'则 |
| 112 | type等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
| 116 | type自加 |
| 122 | 返回:find_fetch_type("u8") |
| 124 | 返回:find_fetch_type("u16") |
| 126 | 返回:find_fetch_type("u32") |
| 128 | 返回:find_fetch_type("u64") |
| 129 | 默认 |
| 130 | 转到:fail |
| 134 | 以Name of type 循环 |
| 135 | 如果字符串比较恒等于0则返回:Fetch type information table [i] |
| 139 | fail : |
| 140 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| find_fetch_type | |
| parse_probe_arg | Recursive argument parser |
| traceprobe_parse_probe_arg_body | String length checking wrapper |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |