aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/cache.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-20 21:01:10 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-20 21:01:10 -0400
commit5d06e6915b1b76653e6fe3369b0b18fdbf75f0a5 (patch)
tree6ed4257dd38a923aa027988bd7dda627ff217c65 /tools/perf/util/cache.h
parentef365cefbc53d8674a18520a1d4c2e5590127299 (diff)
perf tui: Allow disabling the TUI on a per command basis in ~/.perfconfig
Using the same scheme as for git's/perf's pager setup, i.e. if one doesn't want to, on a newt enabled perf binary, to disable the TUI for 'perf report', its just a matter of doing: [root@doppio linux-2.6-tip]# printf "[tui]\n\nreport = off\n" > /root/.perfconfig [root@doppio linux-2.6-tip]# cat /root/.perfconfig [tui] report = off [root@doppio linux-2.6-tip]# System wide settings are also possible, by editing /etc/perfconfig, etc, i.e. the git machinery for config files applies to perf as well, so when in doubt where to put your settings, consult the git documentation, if it fails, please let us know. Suggested-by: Ingo Molnar <mingo@elte.hu> Discussed-with: Stephane Eranian <eranian@google.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> 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/util/cache.h')
-rw-r--r--tools/perf/util/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index 5eca52595b62..65fe664fddf6 100644
--- a/tools/perf/util/cache.h
+++ b/tools/perf/util/cache.h
@@ -30,7 +30,7 @@ extern const char *pager_program;
30extern int pager_in_use(void); 30extern int pager_in_use(void);
31extern int pager_use_color; 31extern int pager_use_color;
32 32
33extern bool use_browser; 33extern int use_browser;
34 34
35#ifdef NO_NEWT_SUPPORT 35#ifdef NO_NEWT_SUPPORT
36static inline void setup_browser(void) 36static inline void setup_browser(void)