Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpu_clock_event_init

Proto:static int cpu_clock_event_init(struct perf_event *event)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
9937  If type != PERF_TYPE_SOFTWARE Then Return -ENOENT
9940  If config != PERF_COUNT_SW_CPU_CLOCK Then Return -ENOENT
9946  If has_branch_stack(event) Then Return -EOPNOTSUPP
9949  perf_swevent_init_hrtimer(event)
9951  Return 0