函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_event_data_length

函数原型:static unsigned rb_event_data_length(struct ring_buffer_event *event)

返回类型:unsigned

参数:

类型参数名称
struct ring_buffer_event *event
165  如果type_lenlength等于type_lenRB_ALIGNMENT
167  否则length等于array[0]
169  返回:lengthRB_EVNT_HDR_SIZE
调用者
名称描述
rb_event_lengthReturn the length of the given event. Will return* the length of the time extend if the event is a* time extend.
rb_event_discard