Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:remove_ftrace_ops

Proto:static int remove_ftrace_ops(struct ftrace_ops __rcu **list, struct ftrace_ops *ops)

Type:int

Parameter:

TypeParameterName
struct ftrace_ops __rcu **list
struct ftrace_ops *ops
287  If 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)) == ops && 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(next, lockdep_is_held( & ftrace_lock)) == ftrace_list_end Then
291  list = ftrace_list_end
292  Return 0
295  When p != ftrace_list_end cycle If p == ops Then
297  Break
299  If p != ops Then Return -1
302  p = next
303  Return 0
Caller
NameDescribe
__unregister_ftrace_function