tracing/function-graph-tracer: strip ending newlines on comments
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 24 Dec 2008 00:43:25 +0000 (01:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Dec 2008 09:42:14 +0000 (10:42 +0100)
commit412d0bb553c0227191f1bfd06100f561600bff22
treefc6d2d1d430eed5ea1e4125d2962a6ff32e6265b
parent5250d329e38cdf7580faeb9c53c17d3588d7d19c
tracing/function-graph-tracer: strip ending newlines on comments

Impact: tracer output improvement

Ending newlines are appended automatically on comments by the function
graph tracer because the newline needs to be placed after the "*/"
comment characters.

So if the user puts an ending newline, we want to strip it.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_functions_graph.c