Function report |
Source Code:kernel\debug\kdb\kdb_bt.c |
Create Date:2022-07-28 11:43:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_bt* This function implements the 'bt' command
Proto:static int kdb_bt1(struct task_struct *p, unsigned long mask, bool btaprompt)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
unsigned long | mask | |
bool | btaprompt |
85 | kdb_printf("Stack traceback for pid %d\n", process id) |
87 | kdb_show_stack(p, NULL) |
88 | If btaprompt Then |
89 | kdb_printf("Enter <q> to end, <cr> or <space> to continue:") |
90 | Do |
92 | When Not 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 cycle |
93 | kdb_printf("\n") |
96 | kdb_nextline = 1 |
98 | If ch == 'q' Then Return 1 |
102 | Return 0 |
Name | Describe |
---|---|
kdb_bt_cpu | |
kdb_bt |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |