函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_output.c Create Date:2022-07-27 13:11:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:trace_print_flags_seq_u64

函数原型: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)

返回类型:char

参数:

类型参数名称
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 nameflags循环
140  mask等于mask
141  如果flags按位与mask的值不等于mask则继续下一循环
144  str等于name
145  flags与等于mask的反
146  如果非firstdelimtrace_seq_puts(p, delim)
148  否则first等于0
150  trace_seq_puts(p, str)
154  如果flags
155  如果非firstdelimtrace_seq_puts(p, delim)
157  Currently only defined when tracing is enabled.
160  trace_seq_putc(p, 0)
162  返回:ret