Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:55 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:task_ctx_sched_out
Proto:static void task_ctx_sched_out(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, enum event_type_t event_type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_cpu_context * | cpuctx | |
| struct perf_event_context * | ctx | |
| enum event_type_t | event_type |
| 2510 | If Not task_ctx Then Return |
| 2513 | If WARN_ON_ONCE(ctx != task_ctx) Then Return |
| 2516 | ctx_sched_out(ctx, cpuctx, event_type) |
| 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_out | |
| perf_event_exit_task_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 |