| 函数逻辑报告 | 
| Source Code: mm\oom_kill.c | Create Date:2022-07-27 15:29:13 | 
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:dump_tasks - dump current memory state of all system tasks*@oc: pointer to struct oom_control* Dumps the current memory state of all eligible tasks. Tasks not in the same* memcg, not in the same cpuset, or bound to a disjoint set of mempolicy nodes
函数原型:static void dump_tasks(struct oom_control *oc)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct oom_control * | oc | 
| 425 | 打印信息("Tasks state (memory values in pages):\n") | 
| 426 | 打印信息("[ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name\n") | 
| 428 | 如果is_memcg_oom(oc)则mem_cgroup_scan_tasks(Memory cgroup in which oom is invoked, or NULL for global oom , dump_task, oc) | 
| 430 | 否则 | 
| 434 | for_each_process(p) | 
| 名称 | 描述 | 
|---|---|
| dump_header | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |