Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ftrace.c Create Date:2022-07-28 12:46:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:race_ops_get_func - get the function a trampoline should call*@ops: the ops to get the function for* Normally the mcount trampoline will call the ops->func, but there* are times that it should not

Proto:ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops)

Type:ftrace_func_t

Parameter:

TypeParameterName
struct ftrace_ops *ops
6916  If Not (flags & FTRACE_OPS_FL_RECURSION_SAFE) || flags & FTRACE_OPS_FL_RCU Then Return If there's only one function registered but it does not support* recursion, needs RCU protection and/or requires per cpu handling, then* this function will be called by the mcount trampoline.
6920  Return func
Caller
NameDescribe
ftrace_ops_get_list_func