Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_init

Proto:void __init perf_event_init(void)

Type:void

Parameter:Nothing

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(smp_processor_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)