函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_print_hex_seq - print buffer as hex sequence*@p: trace seq struct to write to*@buf: The buffer to print*@buf_len: Length of @buf in bytes*@concatenate: Print @buf as single hex string or with spacing* Prints the passed buffer as a hex sequence either

函数原型:const char *trace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len, bool concatenate)

返回类型:char

参数:

类型参数名称
struct trace_seq *p
const unsigned char *buf
intbuf_len
boolconcatenate
221  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
222  fmt等于如果concatenate则"%*phN"否则"%*ph"
224 i小于buf_len循环Currently only defined when tracing is enabled.
226  trace_seq_putc(p, 0)
228  返回:ret