summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-06-05 10:35:01 +0200
committerPeter Zijlstra <peterz@infradead.org>2026-06-30 10:56:53 +0200
commit507f910a4e1f140a245b693441b42bcbc8128938 (patch)
tree032630289ac8342f4fcbeb06cc39e43b7d0e2bce /tools/perf/scripts/python/flamegraph.py
parent5c0b58bd1c9f09c4e9363665702c82694c6ee7a0 (diff)
sched/fair: Add cgroup_mode: tasks
Since we are exploring this space; include a scheme that scales by total number of runnable tasks. This results in: F_g_n' = M * F_g_n This will obviously have: avg(F_g_n') > 1, (it will be ~M/N in fact). And while that sounds odd, it actually has a fairly straight foward meaning for "cpu.weight": average weight per member task. This is an entirely valid and workable option, it is however wildly different from the traditional meaning. Included for completeness (and curiosity). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260605124051.921991975%40infradead.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions