函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_validate_size

函数原型:static bool perf_event_validate_size(struct perf_event *event)

返回类型:bool

参数:

类型参数名称
struct perf_event *event
1804  __perf_event_read_size(event, nr_siblings + 1)
1805  __perf_event_header_size(event, sample_type & ~PERF_SAMPLE_READ)
1806  perf_event__id_header_size(event)
1812  如果read_sizeheader_sizeid_header_sizesizeof(structperf_event_header)大于等于16乘1024则返回:false
1816  返回:true