summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDavid Wang <00107082@163.com>2024-11-08 19:07:17 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-11-13 19:36:35 +0300
commitf9ed1f7c2e26fcd19781774e310a6236d7525c11 (patch)
tree55310f85d20098f0714ae331d05f207583339e87 /tools/perf/scripts/python/flamegraph.py
parent49a17639508c3b35f90ca829e60dddeeeb750e74 (diff)
downloadlinux-f9ed1f7c2e26fcd19781774e310a6236d7525c11.tar.xz
genirq/proc: Use seq_put_decimal_ull_width() for decimal values
seq_printf() is more expensive than seq_put_decimal_ull_width() due to the format string parsing costs. Profiling on a x86 8-core system indicates seq_printf() takes ~47% samples of show_interrupts(). Replacing it with seq_put_decimal_ull_width() yields almost 30% performance gain. [ tglx: Massaged changelog and fixed up coding style ] Signed-off-by: David Wang <00107082@163.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241108160717.9547-1-00107082@163.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions