函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-27 12:46:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_ps - This function implements the 'ps' command which shows a* list of the active processes.* ps [DRSTCZEUIMA] All processes, optionally filtered by state
函数原型:void kdb_ps1(const struct task_struct *p)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_struct * | p |
2328 | cpu等于kdb_process_cpu(p) |
2329 | kdb_printf("0x%px %8d %8d %d %4d %c 0x%px %c%s\n", (void * )p, 进程ID, 进程ID, kdb_task_has_cpu(p), kdb_process_cpu(p), kdb_task_state_char - Return the character that represents the task state.* Inputs:* p struct task for the process* Returns:* One character to represent the task state., (void * )( & * New fields for task_struct should be added above here, so that * they are included in the randomized portion of task_struct.), p == kdb_curr_task(These macros fold the SMP functionality into a single CPU system()) ? '*' : ' ', 是否使用FPU) |
2336 | 如果kdb_task_has_cpu(p)则 |
2338 | kdb_printf(" Error: no saved data for this cpu\n") |
2339 | 否则 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |