函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:line for ring buffer fast paths

函数原型:static __always_inline void *rb_event_data(struct ring_buffer_event *event)

返回类型:void

参数:

类型参数名称
struct ring_buffer_event *event
250  如果extended_time(event)则event等于skip_time_extend(event)
252  BUG_ON(type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX)
254  如果type_len则返回:(void * ) & array[0]
257  返回:(void * ) & array[1]
调用者
名称描述
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