Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_exclude_event

Proto:static int perf_exclude_event(struct perf_event *event, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
struct pt_regs *regs
8556  If state & PERF_HES_STOPPED Then Return 1
8559  If regs Then
8560  If exclude_user && ser_mode(regs) determines whether a register set came from user* mode Then Return 1
8563  If exclude_kernel && Not ser_mode(regs) determines whether a register set came from user* mode Then Return 1
8567  Return 0
Caller
NameDescribe
perf_swevent_match
perf_swevent_hrtimerhrtimer based swevent callback