aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorJosh Don <[email protected]>2023-06-20 11:32:46 -0700
committerPeter Zijlstra <[email protected]>2023-07-13 15:21:49 +0200
commit79462e8c879afc7895b30014d31e2c1fd629bb1f (patch)
treee892190700d63aa4386c2c8d729010b786a4540e /tools/perf/scripts/python/futex-contention.py
parent893cdaaa3977be6afb3a7f756fbfd7be83f68d8c (diff)
sched: don't account throttle time for empty groups
It is easy for a cfs_rq to become throttled even when it has no enqueued entities (for example, if we have just put_prev()'d the last runnable task of the cfs_rq, and the cfs_rq is out of quota). Avoid accounting this time towards total throttle time, since it otherwise falsely inflates the stats. Note that the dequeue path is special, since we normally disallow migrations when a task is in a throttled hierarchy (see throttled_lb_pair()). Signed-off-by: Josh Don <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions