函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_swevent_cancel_hrtimer

函数原型:static void perf_swevent_cancel_hrtimer(struct perf_event *event)

返回类型:void

参数:

类型参数名称
struct perf_event *event
9855  hwc等于hw
9857  如果is_sampling_event(event)则
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
调用者
名称描述
cpu_clock_event_stop
task_clock_event_stop