函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_event_discard

函数原型:static inline void rb_event_discard(struct ring_buffer_event *event)

返回类型:void

参数:

类型参数名称
struct ring_buffer_event *event
2549  如果extended_time(event)则event等于skip_time_extend(event)
2553  array[0]等于rb_event_data_length(event)减RB_EVNT_HDR_SIZE
2554  type_len等于RINGBUF_TYPE_PADDING
2556  如果非time_deltatime_delta等于1
调用者
名称描述
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