Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:task_clock_event_init

Proto:static int task_clock_event_init(struct perf_event *event)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
10018  If type != PERF_TYPE_SOFTWARE Then Return -ENOENT
10021  If config != PERF_COUNT_SW_TASK_CLOCK Then Return -ENOENT
10027  If has_branch_stack(event) Then Return -EOPNOTSUPP
10030  perf_swevent_init_hrtimer(event)
10032  Return 0