Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:56 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_event_sched_in
Proto:static void perf_event_sched_in(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, struct task_struct *task)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_cpu_context * | cpuctx | |
| struct perf_event_context * | ctx | |
| struct task_struct * | task |
| 2523 | cpu_ctx_sched_in(cpuctx, EVENT_PINNED, task) |
| 2524 | If ctx Then ctx_sched_in(ctx, cpuctx, EVENT_PINNED, task) |
| 2526 | cpu_ctx_sched_in(cpuctx, EVENT_FLEXIBLE, task) |
| 2527 | If ctx Then ctx_sched_in(ctx, cpuctx, EVENT_FLEXIBLE, task) |
| Name | Describe |
|---|---|
| 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) |
| perf_event_context_sched_in | |
| perf_rotate_context |
| 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 |