函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_seq_hex_dump

函数原型:int trace_seq_hex_dump(struct trace_seq *s, const char *prefix_str, int prefix_type, int rowsize, int groupsize, const void *buf, size_t len, bool ascii)

返回类型:int

参数:

类型参数名称
struct trace_seq *s
const char *prefix_str
intprefix_type
introwsize
intgroupsize
const void *buf
size_tlen
boolascii
384  save_len等于len
386  如果full则返回:0
389  race_seq should work with being initialized with 0s.
391  如果How much buffer is left on the trace_seq? (s)小于1则
392  full等于1
393  返回:0
396  seq_buf_hex_dump - print formatted hex dump into the sequence buffer*@s: seq_buf descriptor*@prefix_str: string to prefix each line with;* caller supplies trailing spaces for alignment if desired*@prefix_type: controls whether prefix of an offset,
400  如果此条件成立可能性小(为编译器优化)(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.)则
401  len等于save_len
402  full等于1
403  返回:0
406  返回:1
调用者
名称描述
trace_print_hex_dump_seq