diff options
author | David Wang <[email protected]> | 2024-11-09 00:23:27 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-11-10 22:33:52 +1100 |
commit | 5b881c1f83792f5db421124171b06f1b8f1fe075 (patch) | |
tree | b2978d2748e2dbd622fa0b8800816f0b8dd29318 /tools/perf/scripts/python/syscall-counts.py | |
parent | 44e5d21e6d3fd2a1fed7f0327cf72e99397e2eaf (diff) |
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 <[email protected]>
[mpe: Flesh out change log based on original submission]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions