函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpu_clock_event_init

函数原型:static int cpu_clock_event_init(struct perf_event *event)

返回类型:int

参数:

类型参数名称
struct perf_event *event
9937  如果type不等于PERF_TYPE_SOFTWARE则返回:负ENOENT
9940  如果config不等于PERF_COUNT_SW_CPU_CLOCK则返回:负ENOENT
9946  如果has_branch_stack(event)则返回:负EOPNOTSUPP
9949  perf_swevent_init_hrtimer(event)
9951  返回:0