summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorHui Su <sh_def@163.com>2026-10-16 10:09:44 +0900
committerThomas Gleixner <tglx@kernel.org>2026-10-25 22:43:19 +0100
commitbd091346971c88fccd44afd2547d28366f824572 (patch)
tree17cc74ed114685f2ec751b690c988a1853ad59de /tools/perf/scripts/python/bin/flamegraph-report
parent064bcd117e8a1a266bb92b840f63862999b7cb87 (diff)
sched/idle: Use hrtimer cleanup class in play_idle_precise()
Pair on-stack setup with destruction using the hrtimer_on_stack cleanup class in play_idle_precise(). Keep the cleanup object's scope around timer start and the idle wait. Start the timer in pinned hard mode, so its callback runs as a hardirq on the current CPU. The interrupted task observes it.done only after the callback returns. Since the callback returns HRTIMER_NORESTART, the timer is not requeued before the cleanup object tears down its on-stack debug object. Fixes: c1de45ca831a ("sched/idle: Add support for tasks that inject idle") Signed-off-by: Hui Su <sh_def@163.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/eccd97b2003a16291817974798cbe98b25b582a0.1792083743.git.sh_def@163.com
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions