diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-07-04 17:01:19 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-05 21:32:08 +0300 |
commit | b824766504e49f3fdcbb8c722e70996a78c3636e (patch) | |
tree | 34fb08f86e4d03db6fcea66d0c46157557383301 /scripts/gdb/linux/proc.py | |
parent | 1028f391d5f9d4248e2f49193e6de2516ad630f8 (diff) | |
download | linux-b824766504e49f3fdcbb8c722e70996a78c3636e.tar.xz |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions