函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_init_all_cpus

函数原型:static void __init perf_event_init_all_cpus(void)

返回类型:void

参数:

12381  zalloc_cpumask_var( & perf_online_mask, GFP_KERNEL)
12383  遍历可用CPU(cpu)
12384  swhash等于per_cpu(swevent_htable, cpu)
12385  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & hlist_mutex)
12386  初始化链表头
12388  初始化链表头
12389  raw_spin_lock_init( & per_cpu(lock, cpu))
12394  初始化链表头
调用者
名称描述
perf_event_init