Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b8247665 authored by Chen Ridong's avatar Chen Ridong Committed by Tejun Heo
Browse files

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: default avatarChen Ridong <chenridong@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 1028f391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment