函数逻辑报告 |
Source Code:kernel\trace\trace_functions_graph.c |
Create Date:2022-07-27 13:20:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_graph_comment
函数原型:static enum print_line_t print_graph_comment(struct trace_seq *s, struct trace_entry *ent, struct trace_iterator *iter, unsigned int flags)
返回类型:enum print_line_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_seq * | s | |
struct trace_entry * | ent | |
struct trace_iterator * | iter | |
unsigned int | flags |
974 | sym_flags等于trace_flags按位与TRACE_ITER_SYM_MASK masks the options in trace_flags that* control the output of kernel symbols. |
977 | depth等于0 |
982 | })->depth |
984 | print_graph_prologue(iter, s, 0, 0, flags) |
987 | print_graph_duration(tr, 0, s, flags | FLAGS_FILL_FULL) |
990 | 如果depth大于0则以i小于depth加1的和乘TRACE_GRAPH_INDENT循环 |
998 | 当:type恒等于TRACE_BPUTS |
1003 | 当:type恒等于TRACE_BPRINT |
1008 | 当:type恒等于TRACE_PRINT |
1013 | 默认 |
1014 | event等于race_find_event - find a registered event*@type: the type of event to look for* Returns an event of type @type otherwise NULL* Called with trace_event_read_lock() held. |
1015 | 如果非event则返回: Relay to other output functions |
1019 | 如果ret不等于TRACE_TYPE_HANDLED则返回:ret |
1033 | out : |
名称 | 描述 |
---|---|
print_graph_function_flags |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |