函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:15 |
| Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dump_header
函数原型:static void dump_header(struct oom_control *oc, struct task_struct *p)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct oom_control * | oc | |
| struct task_struct * | p |
| 454 | 打印警告信息("%s invoked oom-killer: gfp_mask=%#x(%pGg), order=%d, oom_score_adj=%hd\n", comm, Used to determine cpuset and node locality requirement , & Used to determine cpuset and node locality requirement , rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes., oom_score_adj) |
| 460 | dump_stack() |
| 461 | 如果is_memcg_oom(oc)则mem_cgroup_print_oom_meminfo(Memory cgroup in which oom is invoked, or NULL for global oom ) |
| 463 | 否则 |
| 470 | 如果p则dump_oom_summary(oc, p) |
| 名称 | 描述 |
|---|---|
| oom_kill_process | |
| check_panic_on_oom | Determines whether the kernel must panic because of the panic_on_oom sysctl. |
| out_of_memory | _of_memory - kill the "best" process when we run out of memory*@oc: pointer to struct oom_control* If we run out of memory, we have the choice between either* killing a random task (bad), letting the system crash (worse) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |