函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_swevent_start_hrtimer

函数原型:static void perf_swevent_start_hrtimer(struct perf_event *event)

返回类型:void

参数:

类型参数名称
struct perf_event *event
9834  hwc等于hw
9837  如果非is_sampling_event(event)则返回
9840  period等于local64_read( & period_left)
9841  如果period
9842  如果period小于0则period等于10000
9845  local64_set( & period_left, 0)
9846  否则
9847  period等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, 10000, sample_period)
9849  重启cpu高精度定时器
调用者
名称描述
cpu_clock_event_start
task_clock_event_start