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:25
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

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

Type:char

Parameter:

TypeParameterName
struct trace_seq *p
const char *delim
unsigned longflags
const struct trace_print_flags *flag_array
71  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
72  first = 1
74  When name && flags cycle
76  mask = mask
77  If (flags & mask) != mask Then Continue
80  str = name
81  flags &= ~mask
82  If Not first && delim Then trace_seq_puts(p, delim)
84  Else first = 0
86  trace_seq_puts(p, str)
90  If flags Then
91  If Not first && delim Then trace_seq_puts(p, delim)
93  Currently only defined when tracing is enabled.
96  trace_seq_putc(p, 0)
98  Return ret
Caller
NameDescribe
print_synth_event