Skip to content

Commit 2eae307

Browse files
Abhishek Dubeynamhyung
authored andcommitted
perf report: Calling available function for stats printing
For printing dump_trace, just use existing stats_print() function. Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com> Link: https://lore.kernel.org/r/20240628183224.452055-1-adubey@linux.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent b40934a commit 2eae307

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/perf/builtin-report.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,8 +1089,7 @@ static int __cmd_report(struct report *rep)
10891089
perf_session__fprintf_dsos(session, stdout);
10901090

10911091
if (dump_trace) {
1092-
perf_session__fprintf_nr_events(session, stdout);
1093-
evlist__fprintf_nr_events(session->evlist, stdout);
1092+
stats_print(rep);
10941093
return 0;
10951094
}
10961095
}

0 commit comments

Comments
 (0)