diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-07-04 14:01:19 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-05 08:32:08 -1000 |
commit | b824766504e49f3fdcbb8c722e70996a78c3636e (patch) | |
tree | 34fb08f86e4d03db6fcea66d0c46157557383301 /lib/ts_fsm.c | |
parent | 1028f391d5f9d4248e2f49193e6de2516ad630f8 (diff) |
cgroup/rstat: add force idle show helper
In the function cgroup_base_stat_cputime_show, there are five
instances of #ifdef, which makes the code not concise.
To address this, add the function cgroup_force_idle_show
to make the code more succinct.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions