函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ftrace_trace_stack

函数原型:static inline void ftrace_trace_stack(struct trace_array *tr, struct ring_buffer *buffer, unsigned long flags, int skip, int pc, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
struct ring_buffer *buffer
unsigned longflags
intskip
intpc
struct pt_regs *regs
2967  如果非trace_flags按位与TRACE_ITER_STACKTRACE的值则返回
2970  __ftrace_trace_stack(buffer, flags, skip, pc, regs)
调用者
名称描述
__trace_puts__trace_puts - write a constant string into the trace buffer.*@ip: The address of the caller*@str: The constant string to write*@size: The size of the string.
__trace_bputs__trace_bputs - write the pointer to a constant string into trace buffer*@ip: The address of the caller*@str: The constant string to write to the buffer to
trace_buffer_unlock_commit_regs
trace_vbprintkrace_vbprintk - write binary msg to tracing buffer*@ip: The address of the caller*@fmt: The string format to write to the buffer*@args: Arguments for @fmt
__trace_array_vprintk