Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_init_all_cpus

Proto:static void __init perf_event_init_all_cpus(void)

Type:void

Parameter:Nothing

12381  zalloc_cpumask_var( & perf_online_mask, GFP_KERNEL)
12383  for_each_possible_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  Initialization list head
12388  Initialization list head
12389  raw_spin_lock_init( & per_cpu(lock, cpu))
12394  Initialization list head
Caller
NameDescribe
perf_event_init