Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:33:34
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpu_ctx_sched_out

Proto:static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx, enum event_type_t event_type)

Type:void

Parameter:

TypeParameterName
struct perf_cpu_context *cpuctx
enum event_type_tevent_type
3388  ctx_sched_out( & ctx, cpuctx, event_type)
Caller
NameDescribe
ctx_reschedWe 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