Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:41:12 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_pmu_migrate_context
Proto:void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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) |
| 11733 | If group_leader == event Then Continue |
| 11736 | deletes entry from list |
| 11737 | If state >= PERF_EVENT_STATE_OFF Then 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 | deletes entry from list |
| 11750 | If state >= PERF_EVENT_STATE_OFF Then 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |