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

Name:rb_event_data_length

Proto:static unsigned rb_event_data_length(struct ring_buffer_event *event)

Type:unsigned

Parameter:

TypeParameterName
struct ring_buffer_event *event
165  If type_len Then length = type_len * RB_ALIGNMENT
167  Else length = array[0]
169  Return length + RB_EVNT_HDR_SIZE
Caller
NameDescribe
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