trace: Replace single-character seq_puts with seq_putc
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Sat, 8 Nov 2014 20:42:12 +0000 (21:42 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Nov 2014 12:55:55 +0000 (07:55 -0500)
commit1177e4364154a00baf2c9eb72fd960f0c5a8de84
tree9556d5742714cbc84c4ac5100319bb088487062d
parentd79ac28fde9c245473ba5f337341eb5823c7ebfc
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>
kernel/trace/trace_events_trigger.c
kernel/trace/trace_functions_graph.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_printk.c
kernel/trace/trace_uprobe.c