Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\stacktrace.c Create Date:2022-07-28 10:37:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store, unsigned int size, unsigned int skipnr)

Type:unsigned int

Parameter:

TypeParameterName
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, current process, regs)
176  Return len
Caller
NameDescribe
__ftrace_trace_stack