Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_stack_pointer

Proto:static inline unsigned long *get_stack_pointer(struct task_struct *task, struct pt_regs *regs)

Type:unsigned long

Parameter:

TypeParameterName
struct task_struct *task
struct pt_regs *regs
80  If regs Then Return sp
83  If task == current process Then Return __builtin_frame_address(0)
86  Return sp
Caller
NameDescribe
show_trace_log_lvl
show_stack