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:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:race_seq should work with being initialized with 0s.

Proto:static inline void __trace_seq_init(struct trace_seq *s)

Type:void

Parameter:

TypeParameterName
struct trace_seq *s
41  If Value for the false possibility is greater at compile time(!size) Then trace_seq_init(s)
Caller
NameDescribe
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