函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Slow path, do not inline

函数原型:static noinline struct ring_buffer_event *rb_add_time_stamp(struct ring_buffer_event *event, u64 delta, bool abs)

返回类型:struct ring_buffer_event

参数:

类型参数名称
struct ring_buffer_event *event
u64delta
boolabs
2310  如果abstype_len等于RINGBUF_TYPE_TIME_STAMP
2312  否则type_len等于RINGBUF_TYPE_TIME_EXTEND
2316  如果absrb_event_index(event)则
2317  time_delta等于delta按位与TS_MASK
2318  array[0]等于delta右移TS_SHIFT
2319  否则
2321  time_delta等于0
2322  array[0]等于0
2325  返回:skip_time_extend(event)
调用者
名称描述
rb_update_event_update_event - update event type and data*@event: the event to update*@type: the type of event*@length: the size of the event field in the ring buffer* Update the type and data fields of the event