Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_output.c Create Date:2022-07-28 12:04:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_print_flags_seq_u64

Proto:const char *trace_print_flags_seq_u64(struct trace_seq *p, const char *delim, unsigned long long flags, const struct trace_print_flags_u64 *flag_array)

Type:char

Parameter:

TypeParameterName
struct trace_seq *p
const char *delim
unsigned long longflags
const struct trace_print_flags_u64 *flag_array
135  ret = race_seq_buffer_ptr - return pointer to next location in buffer*@s: trace sequence descriptor* Returns the pointer to the buffer where the next write to* the buffer will happen
136  first = 1
138  When name && flags cycle
140  mask = mask
141  If (flags & mask) != mask Then Continue
144  str = name
145  flags &= ~mask
146  If Not first && delim Then trace_seq_puts(p, delim)
148  Else first = 0
150  trace_seq_puts(p, str)
154  If flags Then
155  If Not first && delim Then trace_seq_puts(p, delim)
157  Currently only defined when tracing is enabled.
160  trace_seq_putc(p, 0)
162  Return ret