函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_show_stack

函数原型:static void kdb_show_stack(struct task_struct *p, void *addr)

返回类型:void

参数:

类型参数名称
struct task_struct *p
void *addr
24  old_lvl等于console_loglevel
26  console_loglevel等于You can't shut this one up
27  kdb_trap_printk自加
29  如果非addrkdb_task_has_cpu(p)则kdb_dump_stack_on_cpu(kdb_process_cpu(p))
31  否则show_stack(p, addr)
34  console_loglevel等于old_lvl
35  kdb_trap_printk自减
调用者
名称描述
kdb_bt1kdb_bt* This function implements the 'bt' command
kdb_bt