aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-06-18 10:09:16 -1000
committerTejun Heo <[email protected]>2024-06-18 10:09:16 -1000
commitdf268382adc1f7aa3ad92f7de71b70395f24e4e7 (patch)
treeb6257ef96844fd786d14c8b022e8e4a6a1145a31 /tools/perf/scripts/python/stackcollapse.py
parent8cce475922aa99200a33ac8f417e0d5e5e67c817 (diff)
sched: Restructure sched_class order sanity checks in sched_init()
Currently, sched_init() checks that the sched_class'es are in the expected order by testing each adjacency which is a bit brittle and makes it cumbersome to add optional sched_class'es. Instead, let's verify whether they're in the expected order using sched_class_above() which is what matters. Signed-off-by: Tejun Heo <[email protected]> Suggested-by: Peter Zijlstra <[email protected]> Reviewed-by: David Vernet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions