aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-31 15:08:39 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-31 15:08:39 -0500
commit229ade9ba36341f7369ecb4f134bcec9133520bf (patch)
tree34a691fe2862d5686c48a684c2ab0c42eb8991e4 /tools/perf/builtin-report.c
parent8c3e10eb1968877d6a1957b7e790c6ce01bd56fc (diff)
perf tools: Don't fallback to setup_pager unconditionally
Because in tools like 'top' we don't want the pager. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index a6a4e5457b6f..080937c3a656 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -499,7 +499,7 @@ int cmd_report(int argc, const char **argv, const char *prefix __used)
499 use_browser = 1; 499 use_browser = 1;
500 500
501 if (strcmp(input_name, "-") != 0) 501 if (strcmp(input_name, "-") != 0)
502 setup_browser(); 502 setup_browser(true);
503 else 503 else
504 use_browser = 0; 504 use_browser = 0;
505 /* 505 /*