Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_seq.c Create Date:2022-07-28 12:05:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_seq_hex_dump

Proto: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)

Type:int

Parameter:

TypeParameterName
struct trace_seq *s
const char *prefix_str
intprefix_type
introwsize
intgroupsize
const void *buf
size_tlen
boolascii
384  save_len = len
386  If full Then Return 0
389  race_seq should work with being initialized with 0s.
391  If How much buffer is left on the trace_seq? (s) < 1 Then
392  full = 1
393  Return 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  If Value for the false possibility is greater at compile time(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.) Then
401  len = save_len
402  full = 1
403  Return 0
406  Return 1
Caller
NameDescribe
trace_print_hex_dump_seq