Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_clear_recursion

Proto:static __always_inline void trace_clear_recursion(int bit)

Type:void

Parameter:

TypeParameterName
intbit
668  val = trace_recursion
670  If Not bit Then Return
673  bit = 1 << bit
674  val &= ~bit
676  The "volatile" is due to gcc bugs ()
677  trace_recursion = val
Caller
NameDescribe
function_trace_call
__ftrace_ops_list_func
ftrace_ops_assist_funcIf 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.