函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_bt* This function implements the 'bt' command

函数原型:static int kdb_bt1(struct task_struct *p, unsigned long mask, bool btaprompt)

返回类型:int

参数:

类型参数名称
struct task_struct *p
unsigned longmask
boolbtaprompt
80  如果Like get_user and put_user, kdb_getarea and kdb_putarea take variable* names, not pointers. The underlying *_size functions take pointers.(ch, (unsignedlong)p)或Like get_user and put_user, kdb_getarea and kdb_putarea take variable* names, not pointers. The underlying *_size functions take pointers.(ch, (unsignedlong)(p + 1) - 1)则返回:KDB_BADADDR
83  如果非kdb_task_state - Return true if a process has the desired state* given by the mask.* Inputs:* p struct task for the process* mask mask from kdb_task_state_string to select processes* Returns:则返回:0
85  kdb_printf("Stack traceback for pid %d\n", 进程ID)
86  kdb_ps - This function implements the 'ps' command which shows a* list of the active processes.* ps [DRSTCZEUIMA] All processes, optionally filtered by state
87  kdb_show_stack(p, NULL)
88  如果btaprompt
89  kdb_printf("Enter <q> to end, <cr> or <space> to continue:")
90  循环
92  当非strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for循环
93  kdb_printf("\n")
96  kdb_nextline等于1
98  如果ch恒等于'q'则返回:1
101  h_nmi_watchdog - restart NMI watchdog timeout.* If the architecture supports the NMI watchdog, touch_nmi_watchdog()* may be used to reset the timeout - for code which intentionally* disables interrupts for a long time. This call is stateless.
102  返回:0
调用者
名称描述
kdb_bt_cpu
kdb_bt