函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_mux_hrtimer_restart

函数原型:static int perf_mux_hrtimer_restart(struct perf_cpu_context *cpuctx)

返回类型:int

参数:

类型参数名称
struct perf_cpu_context *cpuctx
1113  timer等于hrtimer
1114  pmu等于pmu
1118  如果task_ctx_nr恒等于perf_sw_context则返回:0
1121  raw_spin_lock_irqsave( & hrtimer_lock, flags)
1122  如果非hrtimer_active
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  返回:0
调用者
名称描述
group_sched_in