Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Slow path, do not inline

Proto:static noinline struct ring_buffer_event *rb_add_time_stamp(struct ring_buffer_event *event, u64 delta, bool abs)

Type:struct ring_buffer_event

Parameter:

TypeParameterName
struct ring_buffer_event *event
u64delta
boolabs
2310  If abs Then type_len = RINGBUF_TYPE_TIME_STAMP
2312  Else type_len = RINGBUF_TYPE_TIME_EXTEND
2316  If abs || rb_event_index(event) Then
2317  time_delta = delta & TS_MASK
2318  array[0] = delta >> TS_SHIFT
2319  Else
2321  time_delta = 0
2322  array[0] = 0
2325  Return skip_time_extend(event)
Caller
NameDescribe
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