函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_init

函数原型:void __init perf_event_init(void)

返回类型:void

参数:

12505  dr_init() - Initialise an IDR.*@idr: IDR handle.* Initialise a dynamically allocated IDR. To initialise a* statically allocated IDR, use DEFINE_IDR().
12507  perf_event_init_all_cpus()
12508  init_srcu_struct( & pmus_srcu)
12509  perf_pmu_register( & perf_swevent, "software", PERF_TYPE_SOFTWARE)
12510  perf_pmu_register( & perf_cpu_clock, NULL, - 1)
12511  perf_pmu_register( & perf_task_clock, NULL, - 1)
12512  perf_tp_register()
12513  perf_event_init_cpu(当前cpu ID())
12514  gister_reboot_notifier - Register function to be called at reboot time*@nb: Info about notifier function to be called* Registers a function with the list of functions* to be called at reboot time
12516  ret等于init_hw_breakpoint()
12517  WARN(ret, "hw_breakpoint initialization failed with: %d", ret)
12523  BUILD_BUG_ON - break compile if a condition is true((offsetof(structperf_event_mmap_page, data_head)) != 1024)