Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:38:57
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:For the event head insertion and removal in the hlist

Proto:static inline struct hlist_head *find_swevent_head(struct swevent_htable *swhash, struct perf_event *event)

Type:struct hlist_head

Parameter:

TypeParameterName
struct swevent_htable *swhash
struct perf_event *event
8621  event_id = config
8622  type = type
8629  hlist = 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(swevent_hlist, lockdep_is_held( & lock))
8631  If Not hlist Then Return NULL
8634  Return __find_swevent_head(hlist, type, event_id)
Caller
NameDescribe
perf_swevent_add