函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.h Create Date:2022-07-27 12:56:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:trace_clear_recursion

函数原型:static __always_inline void trace_clear_recursion(int bit)

返回类型:void

参数:

类型参数名称
intbit
668  val等于trace_recursion
670  如果非bit则返回
673  bit等于1左移bit
674  val与等于bit的反
676  The "volatile" is due to gcc bugs ()
677  trace_recursion等于val
调用者
名称描述
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.