函数逻辑报告 |
Source Code:kernel\events\core.c |
Create Date:2022-07-27 14:50:39 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:perf_pmu_enable
函数原型:void perf_pmu_enable(struct pmu *pmu)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pmu * | pmu |
| 1141 | count等于this_cpu_ptr(pmu_disable_count) |
| 1142 | 如果非count先自减则pmu_enable(pmu) |
| 名称 | 描述 |
|---|---|
| event_sched_out | |
| group_sched_out | |
| event_sched_in | |
| ctx_resched | We want to maintain the following priority of scheduling:* - CPU pinned (EVENT_CPU | EVENT_PINNED)* - task pinned (EVENT_PINNED)* - CPU flexible (EVENT_CPU | EVENT_FLEXIBLE)* - task flexible (EVENT_FLEXIBLE) |
| ctx_sched_out | |
| perf_pmu_sched_task | This function provides the context switch callback to the lower code* layer. It is invoked ONLY when the context switch callback is enabled.* This callback is relevant even to per-cpu events; for example multi event |
| perf_event_context_sched_in | |
| perf_adjust_freq_unthr_context | mbine freq adjustment with unthrottling to avoid two passes over the* events. At the same time, make sure, having freq events does not change* the rate of unthrottling as that would introduce bias. |
| perf_rotate_context | |
| __perf_event_period | |
| perf_pmu_commit_txn | |
| perf_pmu_cancel_txn |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |