函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array*@regs: Pointer to pt_regs to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace

函数原型:unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr)

返回类型:unsigned int

参数:

类型参数名称
struct pt_regs *regs
unsigned long *store
unsigned intsize
unsigned intskipnr
168  consume_entry等于stack_trace_consume_entry
169  struct stacktrace_cookie c = {store = store, size = size, skip = skipnr, }
175  arch_stack_walk(consume_entry, & c, 当前进程, regs)
176  返回:len
调用者
名称描述
__ftrace_trace_stack