summaryrefslogtreecommitdiff
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorChen Ridong <chenridong@huawei.com>2024-07-04 14:01:19 +0000
committerTejun Heo <tj@kernel.org>2024-07-05 08:32:08 -1000
commitb824766504e49f3fdcbb8c722e70996a78c3636e (patch)
tree34fb08f86e4d03db6fcea66d0c46157557383301 /lib/ts_fsm.c
parent1028f391d5f9d4248e2f49193e6de2516ad630f8 (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