Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_swevent_cancel_hrtimer

Proto:static void perf_swevent_cancel_hrtimer(struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
9855  hwc = hw
9857  If is_sampling_event(event) Then
9858  remaining = hrtimer_get_remaining( & hrtimer)
9859  local64_set( & period_left, Convert ktime_t to nanoseconds )
9861  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
Caller
NameDescribe
cpu_clock_event_stop
task_clock_event_stop