Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:17:40 |
Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Retrieve a function return address to the trace stack on thread info.
Proto:static void ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret, unsigned long frame_pointer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ftrace_graph_ret * | trace | |
unsigned long * | ret | |
unsigned long | frame_pointer |
152 | index = curr_ret_stack |
154 | If Value for the false possibility is greater at compile time(index < 0 || index >= FTRACE_RETFUNC_DEPTH) Then |
156 | WARN_ON(1) |
158 | ret = panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
159 | Return |
191 | Current function = func |
193 | Number of functions that overran the depth limit for current task = atomic_read( & trace_overrun) |
194 | depth = curr_ret_depth-- |
Name | Describe |
---|---|
ftrace_return_to_handler | the original return address. |
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 |