diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-11 23:12:41 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-12 09:28:36 (GMT) |
commit | 895f0edc3cd04a2a3de2c608ba20821b832a8abb (patch) | |
tree | 7299c301e00077082553ccb0e0ca378a99c1cd22 /tools/perf/builtin-top.c | |
parent | fe2197b8bb2f318c1e0b0f589f24f781dd27d1f2 (diff) | |
download | linux-fsl-qoriq-895f0edc3cd04a2a3de2c608ba20821b832a8abb.tar.xz |
perf top: Export get_window_dimensions
Will be used by the newt code too.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1268349164-5822-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index ec48223..57e232f 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -133,7 +133,7 @@ static inline struct symbol *sym_entry__symbol(struct sym_entry *self) return ((void *)self) + symbol_conf.priv_size; } -static void get_term_dimensions(struct winsize *ws) +void get_term_dimensions(struct winsize *ws) { char *s = getenv("LINES"); |