函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\internal.h Create Date:2022-07-27 14:49:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_data_size

函数原型:static inline unsigned long perf_data_size(struct ring_buffer *rb)

返回类型:unsigned long

参数:

类型参数名称
struct ring_buffer *rb
121  返回: nr of data pages 左移PAGE_SHIFT determines the page size page_order(rb)位
调用者
名称描述
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