函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_bt.c |
Create Date:2022-07-27 12:48:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_bt
函数原型:int kdb_bt(int argc, const char **argv)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | argc | |
const char ** | argv |
130 | btaprompt等于1 |
138 | 如果字符串比较恒等于0则 |
141 | mask等于kdb_task_state_string(argc ? argv[1] : NULL) |
143 | 如果argc恒等于0则The user may not realize that ps/bta with no parameters does not print idle* or sleeping system daemon processes, so tell them how many were suppressed. |
147 | p等于kdb_curr_task(cpu) |
152 | Simplify coexistence with NPTL (g, p) |
153 | 如果KDB_FLAG(CMD_INTERRUPT)则返回:0 |
159 | kdb_while_each_thread(g, p) |
160 | 否则如果字符串比较恒等于0则 |
163 | 如果argc不等于1则返回:KDB_ARGCOUNT |
169 | 如果p则 |
173 | kdb_printf("No process with pid == %ld found\n", pid) |
174 | 返回:0 |
175 | 否则如果字符串比较恒等于0则 |
176 | 如果argc不等于1则返回:KDB_ARGCOUNT |
181 | kdb_set_current_task((structtask_struct * )addr) |
183 | 否则如果字符串比较恒等于0则 |
184 | cpu等于0的反 |
186 | 如果argc大于1则返回:KDB_ARGCOUNT |
188 | 如果argc恒等于1则 |
193 | 如果cpu不等于0的反则 |
194 | kdb_bt_cpu(cpu) |
195 | 否则 |
209 | 返回:0 |
210 | 否则 |
211 | 如果argc则 |
212 | nextarg等于1 |
213 | diag等于kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller |
217 | kdb_show_stack(kdb_current_task, (void * )addr) |
218 | 返回:0 |
219 | 否则 |
225 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |