summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/newt.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-30 12:35:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-30 12:35:01 -0700
commitbc7d352c5e76c74c628a39b99777a1bdddde5e81 (patch)
tree3cc0a80defb54d284e2a9a1e69b1224064921775 /tools/perf/util/newt.c
parentb3f2f6cd1ff935ecac9a5346904b899d7af689fe (diff)
parent92af1abde4f2d74c9e5f7b670a1971779ed0b051 (diff)
downloadtalos-op-linux-bc7d352c5e76c74c628a39b99777a1bdddde5e81.tar.gz
talos-op-linux-bc7d352c5e76c74c628a39b99777a1bdddde5e81.zip
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf tui: Fix last use_browser problem related to .perfconfig perf symbols: Add the build id cache to the vmlinux path perf tui: Reset use_browser if stdout is not a tty ring-buffer: Move zeroing out excess in page to ring buffer code ring-buffer: Reset "real_end" when page is filled
Diffstat (limited to 'tools/perf/util/newt.c')
-rw-r--r--tools/perf/util/newt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index d54c540f49db..cf182ca132fe 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -1139,6 +1139,7 @@ void setup_browser(void)
struct newtPercentTreeColors *c = &defaultPercentTreeColors;
if (!isatty(1) || !use_browser || dump_trace) {
+ use_browser = 0;
setup_pager();
return;
}
OpenPOWER on IntegriCloud