Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
struct ftrace_graph_ret *trace
unsigned long *ret
unsigned longframe_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
155  race_graph_stop - set to permanently disable function graph tracincg* In case of an error int function graph tracing, this is called* to try to keep function graph tracing from causing any more harm
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
190  ret = ret
191  Current function = func
192  calltime = calltime
193  Number of functions that overran the depth limit for current task = atomic_read( & trace_overrun)
194  depth = curr_ret_depth--
200  The "volatile" is due to gcc bugs ()
Caller
NameDescribe
ftrace_return_to_handler the original return address.