函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_seq_putmem_hex - write raw memory into the buffer in ASCII hex*@s: trace sequence descriptor*@mem: The raw memory to write its hex ASCII representation of*@len: The length of the raw memory to copy (in bytes)* This is similar to trace_seq_putmem()

函数原型:void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, unsigned int len)

返回类型:void

参数:

类型参数名称
struct trace_seq *s
const void *mem
unsigned intlen
291  save_len等于len
293  如果full则返回
296  race_seq should work with being initialized with 0s.
299  如果len乘2大于How much buffer is left on the trace_seq? (s)则
300  full等于1
301  返回
305  seq_buf_putmem_hex - write raw memory into the buffer in ASCII hex*@s: seq_buf descriptor*@mem: The raw memory to write its hex ASCII representation of*@len: The length of the raw memory to copy (in bytes)* This is similar to seq_buf_putmem() except
307  如果此条件成立可能性小(为编译器优化)(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.)则
308  len等于save_len
309  full等于1
310  返回