函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Ensures all contexts with the same task_ctx_nr have the same* pmu_cpu_context too.

函数原型:static struct perf_cpu_context __percpu *find_pmu_context(int ctxn)

返回类型:struct perf_cpu_context

参数:

类型参数名称
intctxn
10116  如果ctxn小于0则返回:NULL
10120  如果task_ctx_nr恒等于ctxn则返回:pmu_cpu_context
10124  返回:NULL
调用者
名称描述
perf_pmu_register