Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_sb_event

Proto:static bool is_sb_event(struct perf_event *event)

Type:bool

Parameter:

TypeParameterName
struct perf_event *event
4390  attr = attr
4392  If parent Then Return false
4395  If attach_state & PERF_ATTACH_TASK Then Return false
4398  If clude mmap data || -exec mmap data || clude mmap with inode data || clude comm data || lag comm events that are due to an exec || race fork/exit || clude ksymbol events || context switch data || clude bpf events Then Return true
4404  Return false
Caller
NameDescribe
unaccount_pmu_sb_event
account_pmu_sb_eventWe keep a list of all !task (and therefore per-cpu) events* that need to receive side-band records.* This avoids having to scan all the various PMU per-cpu contexts* looking for them.