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

Name:rb_commit

Proto:static void rb_commit(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
struct ring_buffer_event *event
2606  local_inc( & entries)
2607  rb_update_write_stamp(cpu_buffer, event)
2608  rb_end_commit(cpu_buffer)
Caller
NameDescribe
ring_buffer_unlock_commitg_buffer_unlock_commit - commit a reserved*@buffer: The buffer to commit to*@event: The event pointer to commit.* This commits the data to the ring buffer, and releases any locks held.* Must be paired with ring_buffer_lock_reserve.
ring_buffer_writeg_buffer_write - write data to the buffer without reserving*@buffer: The ring buffer to write to