diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-06-23 03:52:48 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-06-23 17:21:43 -0400 |
commit | 5531e16227cc18bc13b028a052a609a233b49c07 (patch) | |
tree | e77c450159e960407d378e70b02b441e7ff4b137 /tools/perf | |
parent | 5b021ddf81b0bcd17d88186b605f53a2ca452d3a (diff) |
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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1435045969-15999-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index aa482c10469d..aac1c4cee1e8 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, | |||
686 | union perf_event *event __maybe_unused, | 686 | union perf_event *event __maybe_unused, |
687 | struct ordered_events *oe) | 687 | struct ordered_events *oe) |
688 | { | 688 | { |
689 | if (dump_trace) | ||
690 | fprintf(stdout, "\n"); | ||
689 | return ordered_events__flush(oe, OE_FLUSH__ROUND); | 691 | return ordered_events__flush(oe, OE_FLUSH__ROUND); |
690 | } | 692 | } |
691 | 693 | ||