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

Name:rb_event_discard

Proto:static inline void rb_event_discard(struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_event *event
2549  If extended_time(event) Then event = skip_time_extend(event)
2553  array[0] = rb_event_data_length(event) - RB_EVNT_HDR_SIZE
2554  type_len = RINGBUF_TYPE_PADDING
2556  If Not time_delta Then time_delta = 1
Caller
NameDescribe
ring_buffer_discard_commitg_buffer_commit_discard - discard an event that has not been committed*@buffer: the ring buffer*@event: non committed event to discard* Sometimes an event that is in the ring buffer needs to be ignored