Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:54:00
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_page_commit

Proto:static __always_inline unsigned rb_page_commit(struct buffer_page *bpage)

Type:unsigned

Parameter:

TypeParameterName
struct buffer_page *bpage
1925  Return local_read( & write committed index )
Caller
NameDescribe
rb_page_sizeSize is determined by what has been committed
rb_commit_index
rb_per_cpu_empty
ring_buffer_iter_emptyg_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check
ring_buffer_read_pageg_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract