函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: the original return address.

函数原型:unsigned long ftrace_return_to_handler(unsigned long frame_pointer)

返回类型:unsigned long

参数:

类型参数名称
unsigned longframe_pointer

摘要:Send the trace to the ring-buffer.

237  Retrieve a function return address to the trace stack on thread info.
238  rettime等于race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events.
239  ftrace_graph_return( & trace)
245  The "volatile" is due to gcc bugs ()
246  curr_ret_stack自减
248  如果此条件成立可能性小(为编译器优化)(!ret)则
249  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
250  WARN_ON(1)
252  ret等于panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
255  返回:ret