diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 0c9ec3e3f0fc..bf8dd2e893e4 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -469,15 +469,17 @@ static int __cmd_report(struct report *rep) desc); } - if (verbose > 3) - perf_session__fprintf(session, stdout); + if (use_browser == 0) { + if (verbose > 3) + perf_session__fprintf(session, stdout); - if (verbose > 2) - perf_session__fprintf_dsos(session, stdout); + if (verbose > 2) + perf_session__fprintf_dsos(session, stdout); - if (dump_trace) { - perf_session__fprintf_nr_events(session, stdout); - return 0; + if (dump_trace) { + perf_session__fprintf_nr_events(session, stdout); + return 0; + } } nr_samples = 0; |