Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:release_probes

Proto:static inline void release_probes(struct tracepoint_func *old)

Type:void

Parameter:

TypeParameterName
struct tracepoint_func *old
93  If old Then
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  Return
113  all_rcu() - Queue an RCU callback for invocation after a grace period
Caller
NameDescribe
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.