Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_pmu_resched

Proto:void perf_pmu_resched(struct pmu *pmu)

Type:void

Parameter:

TypeParameterName
struct pmu *pmu
2584  cpuctx = this_cpu_ptr(pmu_cpu_context)
2585  task_ctx = task_ctx
2587  perf_ctx_lock(cpuctx, task_ctx)
2588  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)
2589  perf_ctx_unlock(cpuctx, task_ctx)