diff options
| author | George Guo <dongtai.guo@linux.dev> | 2026-02-10 19:31:12 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-02-10 19:31:12 +0800 |
| commit | 52c1dbf4cb8e9c1df2a911bc8938efaeff51dfbb (patch) | |
| tree | 702c1157fdd1266408596fdad0c4dd57a44910ed /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | f0e4b1b6e295299f5c9c79ad546dedbdf7132f45 (diff) | |
LoongArch: Replace seq_printf() with seq_puts() for simple strings
Fix warnings like: "Prefer seq_puts to seq_printf" by checkpatch.pl.
Replace seq_printf() calls with seq_puts() in show_cpuinfo() when
outputting simple constant strings without format specifiers.
This improves performance slightly as seq_puts() avoids parsing the
format string.
Signed-off-by: George Guo <guodongtai@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
