函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return the cgroup for "task" from the given hierarchy. Must be* called with cgroup_mutex and css_set_lock held.
函数原型:struct cgroup *task_cgroup_from_root(struct task_struct *task, struct cgroup_root *root)
返回类型:struct cgroup
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | task | |
| struct cgroup_root * | root |
| 名称 | 描述 |
|---|---|
| task_cgroup_path | ask_cgroup_path - cgroup path of a task in the first cgroup hierarchy*@task: target task*@buf: the buffer to write the path into*@buflen: the length of the buffer* Determine @task's cgroup on the first (the one with the lowest non-zero |
| cgroup_procs_write | |
| cgroup_threads_write | |
| proc_cgroup_show | proc_cgroup_show()* - Print task's cgroup paths into seq_file, one line for each hierarchy* - Used for /proc/ |
| cgroup_attach_task_all | group_attach_task_all - attach task 'tsk' to all cgroups of task 'from'*@from: attach to all cgroups of a given task*@tsk: the task to be attached |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |