summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDavid Wang <00107082@163.com>2024-11-08 19:23:27 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2024-11-10 14:33:52 +0300
commit5b881c1f83792f5db421124171b06f1b8f1fe075 (patch)
treeb2978d2748e2dbd622fa0b8800816f0b8dd29318 /tools/perf/scripts/python/gecko.py
parent44e5d21e6d3fd2a1fed7f0327cf72e99397e2eaf (diff)
downloadlinux-5b881c1f83792f5db421124171b06f1b8f1fe075.tar.xz
powerpc/irq: use seq_put_decimal_ull_width() for decimal values
On a system with n CPUs and m interrupts, there will be n*m decimal values yielded via seq_printf(.."%10u "..) which is less efficient than seq_put_decimal_ull_width(), stress reading /proc/interrupts indicates ~30% performance improvement with this patch. Signed-off-by: David Wang <00107082@163.com> [mpe: Flesh out change log based on original submission] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/all/20241103080552.4787-1-00107082@163.com Link: https://patch.msgid.link/20241108162327.9887-1-00107082@163.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions