函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_print_array_seq

函数原型:const char *trace_print_array_seq(struct trace_seq *p, const void *buf, int count, size_t el_size)

返回类型:char

参数:

类型参数名称
struct trace_seq *p
const void *buf
intcount
size_tel_size
236  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
237  prefix等于""
238  ptr等于buf
239  buf_len等于countel_size
241  trace_seq_putc(p, '{')
243 ptr小于bufbuf_len循环
245  :el_size恒等于1
248  退出
249  :el_size恒等于2
252  退出
253  :el_size恒等于4
256  退出
257  :el_size恒等于8
260  退出
261  默认
264  el_size等于1
266  prefix等于","
267  ptr加等于el_size
270  trace_seq_putc(p, '}')
271  trace_seq_putc(p, 0)
273  返回:ret