函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:52:01
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_pmu_resched

函数原型:void perf_pmu_resched(struct pmu *pmu)

返回类型:void

参数:

类型参数名称
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)