aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-06-24 10:51:49 -1000
committerTejun Heo <[email protected]>2024-07-08 08:55:46 -1000
commit60564acbef5c43eeb11ecadf6efe17ac255a80b1 (patch)
tree4b0c93d507f4cf852c53692f49eb215df9d83742 /tools/perf/scripts/python/stackcollapse.py
parent6203ef73fa5c0358f7960b038628259be1448724 (diff)
sched, sched_ext: Simplify dl_prio() case handling in sched_fork()
sched_fork() returns with -EAGAIN if dl_prio(@p). a7a9fc549293 ("sched_ext: Add boilerplate for extensible scheduler class") added scx_pre_fork() call before it and then scx_cancel_fork() on the exit path. This is silly as the dl_prio() block can just be moved above the scx_pre_fork() call. Move the dl_prio() block above the scx_pre_fork() call and remove the now unnecessary scx_cancel_fork() invocation. Signed-off-by: Tejun Heo <[email protected]> Suggested-by: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: David Vernet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions