Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\internal.h Create Date:2022-07-28 13:30:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_data_size

Proto:static inline unsigned long perf_data_size(struct ring_buffer *rb)

Type:unsigned long

Parameter:

TypeParameterName
struct ring_buffer *rb
121  Return nr of data pages << PAGE_SHIFT determines the page size + page_order(rb)
Caller
NameDescribe
perf_event_init_userpage
perf_mmap_closeA buffer can be mmap()ed multiple times; either directly through the same* event, or through other events by use of perf_event_set_output().* In order to undo the VM accounting done by perf_mmap() we need to destroy
perf_mmap
__perf_output_begin
ring_buffer_init