函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:release_probes

函数原型:static inline void release_probes(struct tracepoint_func *old)

返回类型:void

参数:

类型参数名称
struct tracepoint_func *old
93  如果old
94  tp_probes等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(old, structtp_probes, probes[0])
102  next等于early_probes
103  early_probes等于rcu
104  返回
113  all_rcu() - Queue an RCU callback for invocation after a grace period
调用者
名称描述
tracepoint_add_funcAdd the probe function to a tracepoint.
tracepoint_remove_funcRemove a probe function from a tracepoint.* Note: only waiting an RCU period after setting elem->call to the empty* function insures that the original callback is not used anymore. This insured* by preempt_disable around the call site.