Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_swevent_start_hrtimer

Proto:static void perf_swevent_start_hrtimer(struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
9834  hwc = hw
9837  If Not is_sampling_event(event) Then Return
9840  period = local64_read( & period_left)
9841  If period Then
9842  If period < 0 Then period = 10000
9845  local64_set( & period_left, 0)
9846  Else
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  hrtimer_start - (re)start an hrtimer*@timer: the timer to be added*@tim: expiry time*@mode: timer mode: absolute (HRTIMER_MODE_ABS) or* relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED);* softirq based mode is considered for debug purpose only!
Caller
NameDescribe
cpu_clock_event_start
task_clock_event_start