tracing: Replace seq_printf by simpler equivalents
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Sat, 8 Nov 2014 20:42:10 +0000 (21:42 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Nov 2014 02:32:19 +0000 (21:32 -0500)
commitfa6f0cc751d377af3f4f1484bceb47dc10163753
tree4605e7d420b5847228a78373737653e5563c7da1
parent8520dedbbf7578a397ecdfcf6ab83f775f914cfe
tracing: Replace seq_printf by simpler equivalents

Using seq_printf to print a simple string or a single character is a
lot more expensive than it needs to be, since seq_puts and seq_putc
exist.

These patches do

  seq_printf(m, s) -> seq_puts(m, s)
  seq_printf(m, "%s", s) -> seq_puts(m, s)
  seq_printf(m, "%c", c) -> seq_putc(m, c)

Subsequent patches will simplify further.

Link: http://lkml.kernel.org/r/1415479332-25944-2-git-send-email-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace_branch.c
kernel/trace/trace_events.c
kernel/trace/trace_events_trigger.c
kernel/trace/trace_functions.c
kernel/trace/trace_functions_graph.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_uprobe.c