函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-27 12:46:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:void kdb_ps_suppressed(void)
返回类型:void
参数:无
2289 | mask_I等于kdb_task_state_string("I"), mask_M等于kdb_task_state_string("M") |
2294 | p等于kdb_curr_task(cpu) |
2295 | 如果kdb_task_state(p, mask_I)则idle先自加 |
2298 | Simplify coexistence with NPTL (g, p) |
2299 | 如果kdb_task_state(p, mask_M)则daemon先自加 |
2301 | kdb_while_each_thread(g, p) |
2303 | 如果idle则kdb_printf("%d idle process%s (state I)%s\n", idle, idle == 1 ? "" : "es", daemon ? " and " : "") |
2307 | 如果daemon则kdb_printf("%d sleeping system daemon (state M) process%s", daemon, daemon == 1 ? "" : "es") |
2311 | kdb_printf(" suppressed,\nuse 'ps A' to see all.\n") |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |