函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_seq should work with being initialized with 0s.

函数原型:static inline void __trace_seq_init(struct trace_seq *s)

返回类型:void

参数:

类型参数名称
struct trace_seq *s
41  如果此条件成立可能性小(为编译器优化)(!size)则trace_seq_init(s)
调用者
名称描述
trace_print_seqrace_print_seq - move the contents of trace_seq into a seq_file*@m: the seq_file descriptor that is the destination*@s: the trace_seq descriptor that is the source
trace_seq_printfrace_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
trace_seq_bitmaskrace_seq_bitmask - write a bitmask array in its ASCII representation*@s: trace sequence descriptor*@maskp: points to an array of unsigned longs that represent a bitmask*@nmaskbits: The number of bits that are valid in @maskp
trace_seq_vprintfrace_seq_vprintf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
trace_seq_bprintfrace_seq_bprintf - Write the printf string from binary arguments*@s: trace sequence descriptor*@fmt: The format string for the @binary arguments*@binary: The binary arguments for @fmt
trace_seq_putsrace_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
trace_seq_putcrace_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
trace_seq_putmemrace_seq_putmem - write raw data into the trace_seq buffer*@s: trace sequence descriptor*@mem: The raw memory to copy into the buffer*@len: The length of the raw memory to copy (in bytes)* There may be cases where raw memory needs to be written into the
trace_seq_putmem_hexrace_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()
trace_seq_pathrace_seq_path - copy a path into the sequence buffer*@s: trace sequence descriptor*@path: path to write into the sequence buffer
trace_seq_to_userrace_seq_to_user - copy the squence buffer to user space*@s: trace sequence descriptor*@ubuf: The userspace memory location to copy to*@cnt: The amount to copy* Copies the sequence buffer into the userspace memory pointed to* by @ubuf
trace_seq_hex_dump