Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_mux_hrtimer_restart

Proto:static int perf_mux_hrtimer_restart(struct perf_cpu_context *cpuctx)

Type:int

Parameter:

TypeParameterName
struct perf_cpu_context *cpuctx
1113  timer = hrtimer
1114  pmu = pmu
1118  If task_ctx_nr == perf_sw_context Then Return 0
1121  raw_spin_lock_irqsave( & hrtimer_lock, flags)
1122  If Not hrtimer_active Then
1123  hrtimer_active = 1
1124  hrtimer_forward_now - forward the timer expiry so it expires after now*@timer: hrtimer to forward*@interval: the interval to forward* Forward the timer expiry so it will expire after the current time* of the hrtimer clock base
1125  hrtimer_start_expires(timer, HRTIMER_MODE_ABS_PINNED_HARD)
1127  raw_spin_unlock_irqrestore( & hrtimer_lock, flags)
1129  Return 0
Caller
NameDescribe
group_sched_in