Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:17:38 |
Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:function_graph_enter
Proto:int function_graph_enter(unsigned long ret, unsigned long func, unsigned long frame_pointer, unsigned long *retp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ret | |
unsigned long | func | |
unsigned long | frame_pointer | |
unsigned long * | retp |
124 | If ftrace_direct_func_count && ftrace_find_rec_direct(ret - sizeof mcount call ) Then Return -EBUSY |
127 | Current function = func |
128 | depth = ++curr_ret_depth |
130 | If Add a function return address to the trace stack on thread info. Then Go to out |
134 | If Not ftrace_graph_entry( & trace) Then Go to out_ret |
137 | Return 0 |
138 | out_ret : |
139 | curr_ret_stack-- |
140 | out : |
141 | curr_ret_depth-- |
142 | Return -EBUSY |
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 |