| Function report | 
| Source Code: mm\oom_kill.c | Create Date:2022-07-28 14:06:03 | 
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static void dump_tasks(struct oom_control *oc)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct oom_control * | oc | 
| 425 | pr_info("Tasks state (memory values in pages):\n") | 
| 426 | pr_info("[ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name\n") | 
| 428 | If is_memcg_oom(oc) Then mem_cgroup_scan_tasks(Memory cgroup in which oom is invoked, or NULL for global oom , dump_task, oc) | 
| 430 | Else | 
| 434 | for_each_process(p) | 
| Name | Describe | 
|---|---|
| dump_header | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |