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

Name:g_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.

Proto:int ring_buffer_unlock_commit(struct ring_buffer *buffer, struct ring_buffer_event *event)

Type:int

Parameter:

TypeParameterName
struct ring_buffer *buffer
struct ring_buffer_event *event
2782  cpu = These macros fold the SMP functionality into a single CPU system()
2784  cpu_buffer = buffers[cpu]
2786  rb_commit(cpu_buffer, event)
2788  rb_wakeups(buffer, cpu_buffer)
2790  trace_recursive_unlock(cpu_buffer)
2792  preempt_enable_notrace()
2794  Return 0
Caller
NameDescribe
ring_buffer_producer
__buffer_unlock_commit