From 1aefd1e29e1529c0d886c2e2bea8d226d17ca022 Mon Sep 17 00:00:00 2001 From: Fox Snowpatch Date: Thu, 27 Jun 2024 13:44:11 +0000 Subject: [PATCH] From patchwork series 412817 https://patchwork.ozlabs.org//project/linuxppc-dev/list/?series=412817 --- tools/perf/builtin-report.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 69618fb0110b..8678eebc49e6 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -1089,10 +1089,7 @@ static int __cmd_report(struct report *rep) perf_session__fprintf_dsos(session, stdout); if (dump_trace) { - perf_session__fprintf_nr_events(session, stdout, - rep->skip_empty); - evlist__fprintf_nr_events(session->evlist, stdout, - rep->skip_empty); + stats_print(rep); return 0; } }