函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:58:55
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:For the event head insertion and removal in the hlist

函数原型:static inline struct hlist_head *find_swevent_head(struct swevent_htable *swhash, struct perf_event *event)

返回类型:struct hlist_head

参数:

类型参数名称
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  如果非hlist则返回:NULL
8634  返回:__find_swevent_head(hlist, type, event_id)
调用者
名称描述
perf_swevent_add