函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_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

函数原型:void trace_seq_printf(struct trace_seq *s, const char *fmt, ...)

返回类型:void

参数:

类型参数名称
struct trace_seq *s
const char *fmt
86  save_len等于len
89  如果full则返回
92  race_seq should work with being initialized with 0s.
94  va_start(ap, fmt)
95  seq_buf_vprintf - sequence printing of information.*@s: seq_buf descriptor*@fmt: printf format string*@args: va_list of arguments from a printf() type function* Writes a vnprintf() format into the sequencce buffer.* Returns zero on success, -1 on overflow.
96  va_end(ap)
99  如果此条件成立可能性小(为编译器优化)(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.)则
100  len等于save_len
101  full等于1
调用者
名称描述
ring_buffer_print_entry_headerThe ring buffer header is special. We must manually up keep it.
ring_buffer_print_page_header
test_cpu_buff_start
print_trace_fmt
print_raw_fmt
print_trace_lineCalled with trace_event_read_lock() held.
tracing_stats_read
trace_print_flags_seq
trace_print_symbols_seq
trace_print_flags_seq_u64
trace_print_symbols_seq_u64
trace_print_hex_seqrace_print_hex_seq - print buffer as hex sequence*@p: trace seq struct to write to*@buf: The buffer to print*@buf_len: Length of @buf in bytes*@concatenate: Print @buf as single hex string or with spacing* Prints the passed buffer as a hex sequence either
trace_print_array_seq
trace_raw_output_prep
trace_output_raw
seq_print_sym
seq_print_user_ip
seq_print_ip_sym
trace_print_lat_fmtrace_print_lat_fmt - print the irq, preempt and lockdep fields*@s: trace seq struct to write to*@entry: The trace entry field from the ring buffer* Prints the generic fields of irqs off, in hard or softirq, preempt* count.
lat_print_generic
lat_print_timestamp
trace_print_context
trace_print_lat_context
trace_nop_printStandard events
trace_fn_raw
trace_ctxwake_printTRACE_CTX an TRACE_WAKE
trace_ctxwake_raw
trace_hwlat_printTRACE_HWLAT
trace_hwlat_raw
trace_bputs_raw
trace_bprint_raw
trace_print_printTRACE_PRINT
trace_print_raw
trace_raw_data
mmio_print_pcidev
mmio_read
mmio_print_rw
mmio_print_map
mmio_print_mark
print_graph_cpu
print_graph_proc
print_graph_abs_time
print_graph_rel_time
trace_print_graph_duration
print_graph_duration
print_graph_entry_leafCase of a leaf function on its call entry
print_graph_entry_nested
print_graph_return
print_syscall_enter
print_syscall_exit
append_filter_err
print_event_filteraller must hold event_mutex
print_subsystem_event_filter
print_synth_event
print_kprobe_eventEvent entry printers
print_kretprobe_event
print_type_u8
print_type_u16
print_type_u32
print_type_u64
print_type_s8
print_type_s16
print_type_s32
print_type_s64
print_type_x8
print_type_x16
print_type_x32
print_type_x64
print_type_symbol
print_type_stringPrint type function for string type
print_uprobe_eventEvent entry printers
print_probe_args