函数逻辑报告 | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-27 15:01:36 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:perf_pmu_migrate_context
函数原型:void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct pmu * | pmu | |
| int | src_cpu | |
| int | dst_cpu | 
| 11703 | src_ctx = & ({ | 
| 11703 | })->ctx | 
| 11704 | dst_ctx = & ({ | 
| 11704 | })->ctx | 
| 11714 | unaccount_event_cpu(event, src_cpu) | 
| 11716 | 添加链表项 | 
| 11733 | 如果group_leader恒等于event则继续下一循环 | 
| 11736 | 删除链表项 | 
| 11737 | 如果state大于等于PERF_EVENT_STATE_OFF则state等于PERF_EVENT_STATE_INACTIVE | 
| 11739 | account_event_cpu(event, dst_cpu) | 
| 11740 | Attach a performance event to a context.* Very similar to event_function_call, see comment there. | 
| 11749 | 删除链表项 | 
| 11750 | 如果state大于等于PERF_EVENT_STATE_OFF则state等于PERF_EVENT_STATE_INACTIVE | 
| 11752 | account_event_cpu(event, dst_cpu) | 
| 11753 | Attach a performance event to a context.* Very similar to event_function_call, see comment there. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |