Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_validate_size

Proto:static bool perf_event_validate_size(struct perf_event *event)

Type:bool

Parameter:

TypeParameterName
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  If read_size + header_size + id_header_size + sizeof(structperf_event_header) >= 16 * 1024 Then Return false
1816  Return true