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

Name:rb_per_cpu_empty

Proto:static bool rb_per_cpu_empty(struct ring_buffer_per_cpu *cpu_buffer)

Type:bool

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
3173  reader = reader_page
3174  head = rb_set_head_page(cpu_buffer)
3175  commit = committed pages
3178  If Value for the false possibility is greater at compile time(!head) Then Return true
3181  Return dex for next read == rb_page_commit(reader) && ( commit == reader || commit == head && dex for next read == rb_page_commit(commit) )
Caller
NameDescribe
rb_iter_peek
ring_buffer_emptyd_buffer_empty - is the ring buffer empty?*@buffer: The ring buffer to test
ring_buffer_empty_cpug_buffer_empty_cpu - is a cpu buffer of a ring buffer empty?*@buffer: The ring buffer*@cpu: The CPU buffer to test