summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDavid Wang <00107082@163.com>2024-11-30 16:49:09 +0300
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2025-02-01 12:42:36 +0300
commitd2a5f10bf1f123f6d9a7fb4be4cd92f6e95c129d (patch)
treeb18a635d83ed98c815513a2f802f6dc545a6a7c5 /tools/perf/scripts/python/mem-phys-addr.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-d2a5f10bf1f123f6d9a7fb4be4cd92f6e95c129d.tar.xz
sh: 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 has significant costs parsing format string and 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> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions