Function report |
Source Code:kernel\trace\trace_functions_graph.c |
Create Date:2022-07-28 12:13:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_graph_comment
Proto:static enum print_line_t print_graph_comment(struct trace_seq *s, struct trace_entry *ent, struct trace_iterator *iter, unsigned int flags)
Type:enum print_line_t
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If depth > 0 Then When i < (depth + 1) * TRACE_GRAPH_INDENT cycle |
998 | Case type == TRACE_BPUTS |
999 | ret = trace_print_bputs_msg_only(iter) |
1000 | If ret != TRACE_TYPE_HANDLED Then Return ret |
1002 | Break |
1003 | Case type == TRACE_BPRINT |
1004 | ret = trace_print_bprintk_msg_only(iter) |
1005 | If ret != TRACE_TYPE_HANDLED Then Return ret |
1007 | Break |
1008 | Case type == TRACE_PRINT |
1009 | ret = trace_print_printk_msg_only(iter) |
1010 | If ret != TRACE_TYPE_HANDLED Then Return ret |
1012 | Break |
1013 | Default |
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 | If Not event Then Return Relay to other output functions |
1019 | If ret != TRACE_TYPE_HANDLED Then Return ret |
1033 | out : |
Name | Describe |
---|---|
print_graph_function_flags |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |