diff options
author | Rasmus Villemoes | 2014-11-08 21:42:12 +0100 |
---|---|---|
committer | Steven Rostedt | 2014-11-14 13:55:55 +0100 |
commit | 1177e4364154a00baf2c9eb72fd960f0c5a8de84 (patch) | |
tree | 9556d5742714cbc84c4ac5100319bb088487062d /kernel/crash_dump.c | |
parent | tracing: Merge consecutive seq_puts calls (diff) | |
download | kernel-qcow2-linux-1177e4364154a00baf2c9eb72fd960f0c5a8de84.tar.gz kernel-qcow2-linux-1177e4364154a00baf2c9eb72fd960f0c5a8de84.tar.xz kernel-qcow2-linux-1177e4364154a00baf2c9eb72fd960f0c5a8de84.zip |
trace: Replace single-character seq_puts with seq_putc
Printing a single character to a seqfile might as well be done with
seq_putc instead of seq_puts; this avoids a strlen() call and a memory
access. It also shaves another few bytes off the generated code.
Link: http://lkml.kernel.org/r/1415479332-25944-4-git-send-email-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions