ASoC: trace: Remove trailing new-lines in trace messages
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Wed, 24 Sep 2014 18:17:14 +0000 (11:17 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 25 Sep 2014 13:05:58 +0000 (14:05 +0100)
These new-lines add empty lines to trace output

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/trace/events/asoc.h

index 0194a64..b04ee7e 100644 (file)
@@ -175,7 +175,7 @@ TRACE_EVENT(snd_soc_dapm_output_path,
                __entry->path_sink = (long)path->sink;
        ),
 
-       TP_printk("%c%s -> %s -> %s\n",
+       TP_printk("%c%s -> %s -> %s",
                (int) __entry->path_sink &&
                (int) __entry->path_connect ? '*' : ' ',
                __get_str(wname), __get_str(pname), __get_str(psname))
@@ -204,7 +204,7 @@ TRACE_EVENT(snd_soc_dapm_input_path,
                __entry->path_source = (long)path->source;
        ),
 
-       TP_printk("%c%s <- %s <- %s\n",
+       TP_printk("%c%s <- %s <- %s",
                (int) __entry->path_source &&
                (int) __entry->path_connect ? '*' : ' ',
                __get_str(wname), __get_str(pname), __get_str(psname))
@@ -226,7 +226,7 @@ TRACE_EVENT(snd_soc_dapm_connected,
                __entry->stream = stream;
        ),
 
-       TP_printk("%s: found %d paths\n",
+       TP_printk("%s: found %d paths",
                __entry->stream ? "capture" : "playback", __entry->paths)
 );