Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_task_count - count the number of tasks in a cgroup.*@cgrp: the cgroup in question
Proto:int cgroup_task_count(const struct cgroup *cgrp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct cgroup * | cgrp |
| 623 | spin_lock_irq( & css_set_lock) |
| 624 | count = __cgroup_task_count - count the number of tasks in a cgroup. The caller* is responsible for taking the css_set_lock.*@cgrp: the cgroup in question |
| 625 | spin_unlock_irq( & css_set_lock) |
| 627 | Return count |
| Name | Describe |
|---|---|
| pidlist_array_load | Load a cgroup's pidarray with either procs' tgids or tasks' pids |
| debug_taskcount_read | debug_taskcount_read - return the number of tasks in a cgroup.*@cgrp: the cgroup in question |
| 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 |