函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:remove_ftrace_ops

函数原型:static int remove_ftrace_ops(struct ftrace_ops __rcu **list, struct ftrace_ops *ops)

返回类型:int

参数:

类型参数名称
struct ftrace_ops __rcu **list
struct ftrace_ops *ops
287  如果cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit( * list, lockdep_is_held( & ftrace_lock))恒等于opscu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(next, lockdep_is_held( & ftrace_lock))恒等于ftrace_list_end
291  list等于ftrace_list_end
292  返回:0
295 p不等于ftrace_list_end循环如果p恒等于ops
297  退出
299  如果p不等于ops则返回:负1
302  p等于next
303  返回:0
调用者
名称描述
__unregister_ftrace_function