Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_count

Proto:static inline u64 perf_event_count(struct perf_event *event)

Type:u64

Parameter:

TypeParameterName
struct perf_event *event
4055  Return local64_read( & count) + atomic64_read( & child_count)
Caller
NameDescribe
__perf_event_read_value
__perf_read_group_add
perf_event_update_userpageCallers need to ensure there can be no nesting of this function, otherwise* the seqlock logic goes bad. We can not serialize this because the arch* code calls this from NMI context.
perf_output_read_one
perf_output_read_group
sync_child_event