函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:59:48
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rb_event_is_commit

函数原型:static __always_inline bool rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)

返回类型:bool

参数:

类型参数名称
struct ring_buffer_per_cpu *cpu_buffer
struct ring_buffer_event *event
2564  addr等于event
2567  index等于rb_event_index(event)
2568  addr与等于PAGE_MASK
2570  返回:Actual data page 恒等于addrrb_commit_index(cpu_buffer)恒等于index
调用者
名称描述
rb_update_event_update_event - update event type and data*@event: the event to update*@type: the type of event*@length: the size of the event field in the ring buffer* Update the type and data fields of the event
rb_update_write_stamp