函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_print_oom_meminfo: Print OOM memory information relevant to* memory controller.*@memcg: The memory cgroup that went over limit
函数原型:void mem_cgroup_print_oom_meminfo(struct mem_cgroup *memcg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg |
1508 | 打印信息("memory: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & Accounted resources )), K((u64)max), failcnt) |
1511 | 如果cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys)则打印信息("swap: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & swap)), K((u64)max), failcnt) |
1515 | 否则 |
1516 | 打印信息("memory+swap: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & Legacy consumer-oriented counters )), K((u64)max), failcnt) |
1524 | 打印信息("Memory cgroup stats for ") |
1526 | 打印标准信息(":") |
1527 | buf等于memory_stat_format(memcg) |
1528 | 如果非buf则返回 |
1531 | 释放内存 |
名称 | 描述 |
---|---|
dump_header |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |