函数逻辑报告 |
Source Code:mm\oom_kill.c |
Create Date:2022-07-27 15:29:11 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dump_task
函数原型:static int dump_task(struct task_struct *p, void *arg)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
void * | arg |
393 | 如果非task则 |
399 | 返回:0 |
402 | 打印信息("[%7d] %5d %5d %8lu %8lu %8ld %8lu %5hd %s\n", pid, from_kuid( & userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ?, task_uid(task)), tgid, total_vm, get_mm_rss(mm), mm_pgtables_bytes(mm), per-process(per-mm_struct) statistics., oom_score_adj, comm) |
408 | task_unlock(task) |
410 | 返回:0 |
名称 | 描述 |
---|---|
dump_tasks | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |