Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:52:56
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:line for ring buffer fast paths

Proto:static __always_inline void *rb_event_data(struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_event *event
250  If extended_time(event) Then event = skip_time_extend(event)
252  BUG_ON(type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX)
254  If type_len Then Return (void * ) & array[0]
257  Return (void * ) & array[1]
Caller
NameDescribe
ring_buffer_event_datag_buffer_event_data - return the data of the event*@event: the event to get the data from
ring_buffer_writeg_buffer_write - write data to the buffer without reserving*@buffer: The ring buffer to write to