函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:27 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__perf_update_times
函数原型:static __always_inline void __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct perf_event * | event | |
| u64 | now | |
| u64 * | enabled | |
| u64 * | running |
| 626 | 如果state大于等于PERF_EVENT_STATE_INACTIVE则enabled加等于delta |
| 630 | 如果state大于等于PERF_EVENT_STATE_ACTIVE则running加等于delta |
| 名称 | 描述 |
|---|---|
| perf_event_update_time | |
| perf_event_read_local | NMI-safe method to read a local event, that is an event that* is:* - either for the current task, or for this CPU* - does not have inherit set, for inherited task events* will not be local and we cannot read them atomically* - must not have a pmu::count |
| calc_timer_values |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |