函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-27 12:46:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_ps
函数原型:static int kdb_ps(int argc, const char **argv)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | argc | |
const char ** | argv |
2352 | 如果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. |
2354 | kdb_printf("%-*s Pid Parent [*] cpu State %-*s Command\n", (int)(2 * *的长度) + 2, "Task Addr", (int)(2 * *的长度) + 2, "Thread") |
2357 | mask等于kdb_task_state_string(argc ? argv[1] : NULL) |
2360 | 如果KDB_FLAG(CMD_INTERRUPT)则返回:0 |
2362 | p等于kdb_curr_task(cpu) |
2366 | kdb_printf("\n") |
2368 | Simplify coexistence with NPTL (g, p) |
2369 | 如果KDB_FLAG(CMD_INTERRUPT)则返回:0 |
2373 | kdb_while_each_thread(g, p) |
2375 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |