Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The ring buffer header is special. We must manually up keep it.

Proto:int ring_buffer_print_entry_header(struct trace_seq *s)

Type:int

Parameter:

TypeParameterName
struct trace_seq *s
38  trace_seq_puts(s, "# compressed entry header\n")
39  trace_seq_puts(s, "\ttype_len : 5 bits\n")
40  trace_seq_puts(s, "\ttime_delta : 27 bits\n")
41  trace_seq_puts(s, "\tarray : 32 bits\n")
42  trace_seq_putc(s, '\n')
43  Currently only defined when tracing is enabled.
45  Currently only defined when tracing is enabled.
47  Currently only defined when tracing is enabled.
49  Currently only defined when tracing is enabled.
52  Return Not race_seq_has_overflowed - return true if the trace_seq took too much*@s: trace sequence descriptor* Returns true if too much data was added to the trace_seq and it is* now full and will not take anymore.