Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Assume it's not an event with inherit set.

Proto:u64 perf_event_pause(struct perf_event *event, bool reset)

Type:u64

Parameter:

TypeParameterName
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  If reset Then local64_set( & count, 0)
5097  perf_event_ctx_unlock(event, ctx)
5099  Return count