summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-11-06 17:51:38 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-11-07 04:44:38 +0300
commita02976cfce4fe8336c6be08cd4dc35ca1aa794e9 (patch)
tree57ca28c18d0dc1a4e8f6abc935755a51efc19427 /tools/perf/scripts/python/flamegraph.py
parent7a7f5065bc1dd8c463fc55f18ad43907c16571ee (diff)
downloadlinux-a02976cfce4fe8336c6be08cd4dc35ca1aa794e9.tar.xz
timers: Use __raise_softirq_irqoff() to raise the softirq.
Raising the timer soft interrupt is always done from hard interrupt context, so it can be reduced to just setting the TIMER soft interrupt flag. The soft interrupt will be invoked on return from interrupt. Use therefore __raise_softirq_irqoff() to raise the TIMER soft interrupt, which is a trivial optimization. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/all/20241106150419.2593080-3-bigeasy@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions