Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rb_set_head_page

Proto:static struct buffer_page *rb_set_head_page(struct ring_buffer_per_cpu *cpu_buffer)

Type:struct buffer_page

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
1014  If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, !ad from head ) Then Return NULL
1018  list = pages
1019  If uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, _list_head - remove any bit != list) Then Return NULL
1022  page = head = ad from head
1029  When i < 3 cycle
1030  Do
1033  Return page
1036  When page != head cycle
1039  uffer may be either ring_buffer or ring_buffer_per_cpu (cpu_buffer, 1)
1041  Return NULL
Caller
NameDescribe
rb_check_pages_check_pages - integrity check of buffer pages*@cpu_buffer: CPU buffer with pages to test* As a safety measure we check to make sure the data pages have not* been corrupted.
rb_insert_pages
rb_inc_iter
rb_per_cpu_empty
ring_buffer_oldest_event_tsg_buffer_oldest_event_ts - get the oldest event timestamp from the buffer*@buffer: The ring buffer*@cpu: The per CPU buffer to read from.
rb_get_reader_page