函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__perf_event_read_cpu

函数原型:static int __perf_event_read_cpu(struct perf_event *event, int event_cpu)

返回类型:int

参数:

类型参数名称
struct perf_event *event
intevent_cpu
3980  如果group_caps按位与PERF_EV_CAP_READ_ACTIVE_PKG
3981  local_cpu等于当前cpu ID()
3983  event_pkg等于topology_physical_package_id(event_cpu)
3984  local_pkg等于topology_physical_package_id(local_cpu)
3986  如果event_pkg恒等于local_pkg则返回:local_cpu
3990  返回:event_cpu
调用者
名称描述
perf_event_read