Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_read_value

Proto:u64 perf_event_read_value(struct perf_event *event, u64 *enabled, u64 *running)

Type:u64

Parameter:

TypeParameterName
struct perf_event *event
u64 *enabled
u64 *running
4873  ctx = perf_event_ctx_lock(event)
4874  count = __perf_event_read_value(event, enabled, running)
4875  perf_event_ctx_unlock(event, ctx)
4877  Return count