Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:arch_stack_walk_user

Proto:void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie, const struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
stack_trace_consume_fnconsume_entry
void *cookie
const struct pt_regs *regs
118  __user * fp = bp
120  If Not consume_entry(cookie, ip, false) Then Return
123  When 1 cycle
126  next_fp = NULL
127  ret_addr = 0
128  If Not copy_stack_frame(fp, & frame) Then Break
130  If fp < sp Then Break
132  If Not ret_addr Then Break
134  If Not consume_entry(cookie, ret_addr, false) Then Break
136  fp = next_fp