函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ftrace_update_pid_func

函数原型:static void ftrace_update_pid_func(void)

返回类型:void

参数:

376  如果ftrace_trace_function恒等于ftrace_stub则返回
379  Traverse the ftrace_global_list, invoking all entries. The reason that we* can use rcu_dereference_raw_check() is that elements removed from this list* are simply leaked, so there is no need to interact with a grace-period* mechanism(op, ftrace_ops_list)
380  如果flags按位与FTRACE_OPS_FL_PID
调用者
名称描述
ftrace_pid_reset
ftrace_pid_write