Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: must be called with interrupts disabled

Proto:static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr)

Type:enum hrtimer_restart

Parameter:

TypeParameterName
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  If rotations Then 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
1079  Else hrtimer_active = 0
1081  raw_spin_unlock( & hrtimer_lock)
1083  Return If rotations Then Timer must be restarted Else Timer is not restarted