From: Adrian Hunter Date: Tue, 23 Jun 2015 07:52:48 +0000 (+0300) Subject: perf session: Print a newline when dumping PERF_RECORD_FINISHED_ROUND X-Git-Tag: v4.14-rc1~5085^2~5^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5531e16227cc18bc13b028a052a609a233b49c07;p=platform%2Fkernel%2Flinux-rpi.git perf session: Print a newline when dumping PERF_RECORD_FINISHED_ROUND With 'perf report -D' the PERF_RECORD_FINISHED_ROUND event was printed without a newline, resulting in: 0x91a18 [0x8]: PERF_RECORD_FINISHED_ROUNDAggregated stats Other events print their details, but PERF_RECORD_FINISHED_ROUND doesn't have any so just add a print for a newline. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1435045969-15999-1-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index aa482c1..aac1c4c 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -686,6 +686,8 @@ static int process_finished_round(struct perf_tool *tool __maybe_unused, union perf_event *event __maybe_unused, struct ordered_events *oe) { + if (dump_trace) + fprintf(stdout, "\n"); return ordered_events__flush(oe, OE_FLUSH__ROUND); }