函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_read_value

函数原型:u64 perf_event_read_value(struct perf_event *event, u64 *enabled, u64 *running)

返回类型:u64

参数:

类型参数名称
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  返回:count