函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_swevent_overflow

函数原型:static void perf_swevent_overflow(struct perf_event *event, u64 overflow, struct perf_sample_data *data, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct perf_event *event
u64overflow
struct perf_sample_data *data
struct pt_regs *regs
8502  hwc等于hw
8503  throttle等于0
8505  如果非overflowoverflow等于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  如果interrupts恒等于MAX_INTERRUPTS则返回
8511 overflow循环
8518  退出
8520  throttle等于1
调用者
名称描述
perf_swevent_event