diff options
author | David Wang <00107082@163.com> | 2024-12-02 11:42:08 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-12-02 11:42:08 +0300 |
commit | ad2a05a6d287aef7e069c06e329f1355756415c2 (patch) | |
tree | cd62576500f6ea54215be329cf7137a43ec86875 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 55dc2f8f263448f1e6c7ef135d08e640d5a4826e (diff) | |
download | linux-ad2a05a6d287aef7e069c06e329f1355756415c2.tar.xz |
LoongArch/irq: Use seq_put_decimal_ull_width() for decimal values
Performance improvement for reading /proc/interrupts on LoongArch.
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 (and its friends).
Signed-off-by: David Wang <00107082@163.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions