aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorAbhishek Dubey <[email protected]>2024-06-28 14:32:24 -0400
committerNamhyung Kim <[email protected]>2024-07-02 16:01:23 -0700
commit2eae307ec529a48dd6de89c86d0df62c7f5fc537 (patch)
tree5434d32ac406bc4e92a793cebafb26b547d376a9 /tools/perf/builtin-report.c
parentb40934ae32232140e85dc7dc1c3ea0e296986723 (diff)
perf report: Calling available function for stats printing
For printing dump_trace, just use existing stats_print() function. Signed-off-by: Abhishek Dubey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 9718770facb5..6edc0d4ce6fb 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -1089,8 +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);
- evlist__fprintf_nr_events(session->evlist, stdout);
+ stats_print(rep);
return 0;
}
}