函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-27 13:24:33
Last Modify:2020-03-17 20:08:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Retrieve a function return address to the trace stack on thread info.

函数原型:static void ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret, unsigned long frame_pointer)

返回类型:void

参数:

类型参数名称
struct ftrace_graph_ret *trace
unsigned long *ret
unsigned longframe_pointer
152  index等于curr_ret_stack
154  如果此条件成立可能性小(为编译器优化)(index < 0 || index >= FTRACE_RETFUNC_DEPTH)则
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  返回
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 ()
调用者
名称描述
ftrace_return_to_handler the original return address.