Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Abhishek Dubey and committed by
Namhyung Kim
2eae307e b40934ae

+1 -2
+1 -2
tools/perf/builtin-report.c
··· 1089 1089 perf_session__fprintf_dsos(session, stdout); 1090 1090 1091 1091 if (dump_trace) { 1092 - perf_session__fprintf_nr_events(session, stdout); 1093 - evlist__fprintf_nr_events(session->evlist, stdout); 1092 + stats_print(rep); 1094 1093 return 0; 1095 1094 } 1096 1095 }