函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:26 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:State based event timekeeping...* The basic idea is to use event->state to determine which (if any) time* fields to increment with the current delta. This means we only need to* update timestamps when we change state or when they are explicitly requested
函数原型:static __always_inline enum perf_event_state __perf_effective_state(struct perf_event *event)
返回类型:enum perf_event_state
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct perf_event * | event |
| 611 | leader等于group_leader |
| 613 | 如果state小于等于PERF_EVENT_STATE_OFF则返回:state |
| 616 | 返回:state |
| 名称 | 描述 |
|---|---|
| __perf_update_times | |
| perf_install_in_context | Attach a performance event to a context.* Very similar to event_function_call, see comment there. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |