函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__perf_event_read_size

函数原型:static void __perf_event_read_size(struct perf_event *event, int nr_siblings)

返回类型:void

参数:

类型参数名称
struct perf_event *event
intnr_siblings
1706  entry等于sizeof(u64)
1707  size等于0
1708  nr等于1
1710  如果read_format按位与PERF_FORMAT_TOTAL_TIME_ENABLEDsize加等于sizeof(u64)
1713  如果read_format按位与PERF_FORMAT_TOTAL_TIME_RUNNINGsize加等于sizeof(u64)
1716  如果read_format按位与PERF_FORMAT_IDentry加等于sizeof(u64)
1719  如果read_format按位与PERF_FORMAT_GROUP
1720  nr加等于nr_siblings
1721  size加等于sizeof(u64)
1724  size加等于entrynr
1725  read_size等于size
调用者
名称描述
perf_event__header_sizeCalled at perf_event creation and when events are attached/detached from a* group.
perf_event_validate_size