summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-05-14 18:11:48 +0300
committerTejun Heo <tj@kernel.org>2025-05-14 18:11:48 +0300
commitd310fb40096896abe1928b88224129bf7122532f (patch)
tree50abded3520e611ca25a5025bc882ce35e1b99c0 /tools/perf/scripts/python/stackcollapse.py
parent051398f52b7cb0dbeda8da355b948fad3d23cb0f (diff)
downloadlinux-d310fb40096896abe1928b88224129bf7122532f.tar.xz
sched_ext: Clean up scx_root usages
- Always cache scx_root into local variable sch before using. - Don't use scx_root if cached sch is available. - Wrap !sch test with unlikely(). - Pass @scx into scx_cgroup_init/exit(). No behavior changes intended. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions