函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:59:39 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hrtimer based swevent callback
函数原型:static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer)
返回类型:enum hrtimer_restart
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hrtimer * | hrtimer |
9804 | ret等于Timer must be restarted |
9812 | 如果state不等于PERF_EVENT_STATE_ACTIVE则返回:Timer is not restarted |
9817 | perf_sample_data_init( & data, 0, last_period) |
9818 | regs等于get_irq_regs() |
9820 | 如果regs且非perf_exclude_event(event, regs)则 |
9821 | 如果非exclude_idle且是空闲任务的值则如果Generic event overflow handling, sampling.则 |
9823 | ret等于Timer is not restarted |
9826 | period等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, 10000, sample_period) |
9829 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |