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

Name:rb_update_read_stamp

Proto:static void rb_update_read_stamp(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
struct ring_buffer_event *event
3618  Case type_len == RINGBUF_TYPE_PADDING
3619  Return
3621  Case type_len == RINGBUF_TYPE_TIME_EXTEND
3622  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
3623  read_stamp += delta
3624  Return
3626  Case type_len == RINGBUF_TYPE_TIME_STAMP
3627  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
3628  read_stamp = delta
3629  Return
3631  Case type_len == define RINGBUF_TYPE_DATA for 'case RINGBUF_TYPE_DATA:'
3632  read_stamp += time_delta
3633  Return
3635  Default
3636  BUG()
3638  Return
Caller
NameDescribe
rb_advance_reader