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

Name:rb_head_page_set_update

Proto:static int rb_head_page_set_update(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *head, struct buffer_page *prev, int old_flag)

Type:int

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
struct buffer_page *head
struct buffer_page *prev
intold_flag
976  Return rb_head_page_set(cpu_buffer, head, prev, old_flag, RB_PAGE_UPDATE)
Caller
NameDescribe
rb_handle_head_page_handle_head_page - writer hit the head page* Returns: +1 to retry page* 0 to continue* -1 on error