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

Name:rb_event_is_commit

Proto:static __always_inline bool rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)

Type:bool

Parameter:

TypeParameterName
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  Return Actual data page == addr && rb_commit_index(cpu_buffer) == index
Caller
NameDescribe
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