函数逻辑报告 |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-27 13:26:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:f_show
函数原型:static int f_show(struct seq_file *m, void *v)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
void * | v |
1244 | call等于event_file_data(private) |
1249 | 当:v恒等于FORMAT_HEADER |
1250 | seq_printf(m, "name: %s\n", trace_event_name(call)) |
1251 | seq_printf(m, "ID: %d\n", type) |
1253 | 返回:0 |
1255 | 当:v恒等于FORMAT_FIELD_SEPERATOR |
1259 | 当:v恒等于FORMAT_PRINTFMT |
1260 | seq_printf(m, "\nprint fmt: %s\n", print_fmt) |
1262 | 返回:0 |
1273 | array_descriptor等于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 |
1278 | 如果非array_descriptor则seq_printf(m, "\tfield:%s %s;\toffset:%u;\tsize:%u;\tsigned:%d;\n", type, name, offset, size, !!is_signed) |
1282 | 否则seq_printf(m, "\tfield:%.*s %s%s;\toffset:%u;\tsize:%u;\tsigned:%d;\n", (int)(array_descriptor - type), type, name, array_descriptor, offset, size, !!is_signed) |
1289 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |