diff options
author | Abel Wu <wuyun.abel@bytedance.com> | 2025-02-09 14:13:11 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-02-27 07:19:17 -1000 |
commit | c4af66a95aa3bc1d4f607ebd4eea524fb58946e3 (patch) | |
tree | 577faa9acca7010c336a7a37f97e5410a8c6dc71 /tools/perf/scripts/python/task-analyzer.py | |
parent | ad6c08d8c1045843ec564a73981ece6ec31d11a0 (diff) |
cgroup/rstat: Fix forceidle time in cpu.stat
The commit b824766504e4 ("cgroup/rstat: add force idle show helper")
retrieves forceidle_time outside cgroup_rstat_lock for non-root cgroups
which can be potentially inconsistent with other stats.
Rather than reverting that commit, fix it in a way that retains the
effort of cleaning up the ifdef-messes.
Fixes: b824766504e4 ("cgroup/rstat: add force idle show helper")
Signed-off-by: Abel Wu <wuyun.abel@bytedance.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions