函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: must be called with interrupts disabled

函数原型:static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr)

返回类型:enum hrtimer_restart

参数:

类型参数名称
struct hrtimer *hr
1071  lockdep_assert_irqs_disabled()
1073  cpuctx等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(hr, structperf_cpu_context, hrtimer)
1074  rotations等于perf_rotate_context(cpuctx)
1076  raw_spin_lock( & hrtimer_lock)
1077  如果rotationshrtimer_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
1079  否则hrtimer_active等于0
1081  raw_spin_unlock( & hrtimer_lock)
1083  返回:如果rotationsTimer must be restarted 否则Timer is not restarted