函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:58:41 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Generic event overflow handling, sampling.
函数原型:static int __perf_event_overflow(struct perf_event *event, int throttle, struct perf_sample_data *data, struct pt_regs *regs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct perf_event * | event | |
int | throttle | |
struct perf_sample_data * | data | |
struct pt_regs * | regs |
8411 | events等于atomic_read( & event_limit) |
8412 | ret等于0 |
8418 | 如果此条件成立可能性小(为编译器优化)(!is_sampling_event(event))则返回:0 |
8429 | 如果events且atomic_dec_and_test( & event_limit)则 |
8436 | READ_ONCE(overflow_handler)(event, data, regs) |
8443 | 返回:ret |
名称 | 描述 |
---|---|
perf_event_overflow | |
perf_swevent_overflow | |
perf_swevent_hrtimer | hrtimer based swevent callback |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |