函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Assume it's not an event with inherit set.

函数原型:u64 perf_event_pause(struct perf_event *event, bool reset)

返回类型:u64

参数:

类型参数名称
struct perf_event *event
boolreset
5091  ctx等于perf_event_ctx_lock(event)
5092  WARN_ON_ONCE(inherit)
5093  Disable an event
5094  count等于local64_read( & count)
5095  如果resetlocal64_set( & count, 0)
5097  perf_event_ctx_unlock(event, ctx)
5099  返回:count