summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSun Shaojie <sunshaojie@kylinos.cn>2026-06-29 14:06:36 +0800
committerTejun Heo <tj@kernel.org>2026-06-29 08:53:09 -1000
commit171569f8ee6724a4113a0100fea6ff83d9b70c6a (patch)
treeb004cff9cda274616b112dc4168ffc7ccb86d9a3 /tools/perf/scripts/python/stackcollapse.py
parenta2703c2980c0776e9be7d8f9e144afd054dddb12 (diff)
cgroup/cpu: document cpu.stat.local and clarify cpu.stat behavior
Add documentation for the cpu.stat.local interface file, which reports the throttled_usec stat -- the actual throttling time incurred by the cgroup's own runqueues, which may include throttling inherited from ancestor cgroup bandwidth limits. Unlike cpu.stat's throttled_usec which only accounts for throttling caused by the cgroup's own CFS bandwidth limit. When the controller is not enabled, the stat is not reported. Also clarify cpu.stat descriptions: note that the three base CPU usage stats (usage_usec, user_usec, system_usec) include descendant cgroups, and that the five CFS bandwidth stats are non-hierarchical -- they only account for throttling caused by the cgroup's own bandwidth limit. Signed-off-by: Sun Shaojie <sunshaojie@kylinos.cn> Acked-by: Michal Koutný <mkoutny@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions