函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_update_read_stamp

函数原型:static void rb_update_read_stamp(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)

返回类型:void

参数:

类型参数名称
struct ring_buffer_per_cpu *cpu_buffer
struct ring_buffer_event *event
3618  :type_len恒等于RINGBUF_TYPE_PADDING
3619  返回
3621  :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  返回
3626  :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  返回
3631  :type_len恒等于define RINGBUF_TYPE_DATA for 'case RINGBUF_TYPE_DATA:'
3632  read_stamp加等于time_delta
3633  返回
3635  默认
3636  BUG()
3638  返回
调用者
名称描述
rb_advance_reader