Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_swevent_overflow

Proto:static void perf_swevent_overflow(struct perf_event *event, u64 overflow, struct perf_sample_data *data, struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
u64overflow
struct perf_sample_data *data
struct pt_regs *regs
8502  hwc = hw
8503  throttle = 0
8505  If Not overflow Then overflow = We directly increment event->count and keep a second value in* is kept in the range [-sample_period, 0] so that we can use the* sign as trigger.
8508  If interrupts == MAX_INTERRUPTS Then Return
8511  When overflow cycle
8518  Break
8520  throttle = 1
Caller
NameDescribe
perf_swevent_event