函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:is_sb_event

函数原型:static bool is_sb_event(struct perf_event *event)

返回类型:bool

参数:

类型参数名称
struct perf_event *event
4390  attr等于attr
4392  如果parent则返回:false
4395  如果attach_state按位与PERF_ATTACH_TASK则返回:false
4398  如果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 则返回:true
4404  返回:false
调用者
名称描述
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.