summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-03-11 20:12:41 -0300
committerIngo Molnar <mingo@elte.hu>2010-03-12 10:28:36 +0100
commit895f0edc3cd04a2a3de2c608ba20821b832a8abb (patch)
tree7299c301e00077082553ccb0e0ca378a99c1cd22 /tools/perf/perf.h
parentfe2197b8bb2f318c1e0b0f589f24f781dd27d1f2 (diff)
downloadop-kernel-dev-895f0edc3cd04a2a3de2c608ba20821b832a8abb.zip
op-kernel-dev-895f0edc3cd04a2a3de2c608ba20821b832a8abb.tar.gz
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/perf.h')
-rw-r--r--tools/perf/perf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 6fb379b..aa78615 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -1,6 +1,10 @@
#ifndef _PERF_PERF_H
#define _PERF_PERF_H
+struct winsize;
+
+void get_term_dimensions(struct winsize *ws);
+
#if defined(__i386__)
#include "../../arch/x86/include/asm/unistd.h"
#define rmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory")
OpenPOWER on IntegriCloud