Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:55:02
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_update_iter_read_stamp

Proto:static void rb_update_iter_read_stamp(struct ring_buffer_iter *iter, struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_iter *iter
struct ring_buffer_event *event
3648  Case type_len == RINGBUF_TYPE_PADDING
3649  Return
3651  Case type_len == RINGBUF_TYPE_TIME_EXTEND
3652  delta = g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event
3653  read_stamp += delta
3654  Return
3656  Case type_len == RINGBUF_TYPE_TIME_STAMP
3657  delta = g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event
3658  read_stamp = delta
3659  Return
3661  Case type_len == define RINGBUF_TYPE_DATA for 'case RINGBUF_TYPE_DATA:'
3662  read_stamp += time_delta
3663  Return
3665  Default
3666  BUG()
3668  Return
Caller
NameDescribe
rb_advance_iter