Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__perf_event_stop

Proto:static int __perf_event_stop(void *info)

Type:int

Parameter:

TypeParameterName
void *info
2871  sd = info
2872  event = event
2875  If READ_ONCE(state) != PERF_EVENT_STATE_ACTIVE Then Return 0
2879  smp_rmb()
2885  If READ_ONCE(oncpu) != smp_processor_id() Then Return -EAGAIN
2888  stop(event, update the counter when stopping )
2899  If restart Then start(event, 0)
2902  Return 0
Caller
NameDescribe
__perf_event_output_stop