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:58
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:g_buffer_iter_empty - check if an iterator has no more to read*@iter: The iterator to check

Proto:int ring_buffer_iter_empty(struct ring_buffer_iter *iter)

Type:int

Parameter:

TypeParameterName
struct ring_buffer_iter *iter
3596  cpu_buffer = cpu_buffer
3599  reader = reader_page
3600  head_page = ad from head
3601  commit_page = committed pages
3602  commit = rb_page_commit(commit_page)
3604  Return head_page == commit_page && head == commit || head_page == reader && commit_page == head_page && dex for next read == commit && head == rb_page_commit(reader_page)
Caller
NameDescribe
rb_iter_peek
trace_empty