aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 06115ffaa0b4..5df829f5bbf4 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -676,14 +676,10 @@ int cmd_report(int argc, const char **argv, const char *prefix __used)
676 676
677 } 677 }
678 678
679 if (strcmp(report.input_name, "-") != 0) { 679 if (strcmp(report.input_name, "-") != 0)
680 if (report.use_gtk) 680 setup_browser(true);
681 perf_gtk__setup_browser(true); 681 else
682 else
683 setup_browser(true);
684 } else {
685 use_browser = 0; 682 use_browser = 0;
686 }
687 683
688 /* 684 /*
689 * Only in the newt browser we are doing integrated annotation, 685 * Only in the newt browser we are doing integrated annotation,