提交 2890284b 编写于 作者: A Arnaldo Carvalho de Melo 提交者: Ingo Molnar

perf tools: Move graph_line and graph_dotted_line from top

So that they can be used in other tools.
Signed-off-by: NArnaldo 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: <1259005869-13487-1-git-send-email-acme@infradead.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 cc612d81
...@@ -80,13 +80,6 @@ static bool hide_kernel_symbols = false; ...@@ -80,13 +80,6 @@ static bool hide_kernel_symbols = false;
static bool hide_user_symbols = false; static bool hide_user_symbols = false;
static struct winsize winsize; static struct winsize winsize;
const char *vmlinux_name; const char *vmlinux_name;
static const char *graph_line =
"_____________________________________________________________________"
"_____________________________________________________________________";
static const char *graph_dotted_line =
"---------------------------------------------------------------------"
"---------------------------------------------------------------------"
"---------------------------------------------------------------------";
/* /*
* Source * Source
......
...@@ -29,3 +29,11 @@ unsigned char sane_ctype[256] = { ...@@ -29,3 +29,11 @@ unsigned char sane_ctype[256] = {
A, A, A, A, A, A, A, A, A, A, A, R, R, P, P, 0, /* 112..127 */ A, A, A, A, A, A, A, A, A, A, A, R, R, P, P, 0, /* 112..127 */
/* Nothing in the 128.. range */ /* Nothing in the 128.. range */
}; };
const char *graph_line =
"_____________________________________________________________________"
"_____________________________________________________________________";
const char *graph_dotted_line =
"---------------------------------------------------------------------"
"---------------------------------------------------------------------"
"---------------------------------------------------------------------";
...@@ -84,6 +84,9 @@ ...@@ -84,6 +84,9 @@
#include <iconv.h> #include <iconv.h>
#endif #endif
extern const char *graph_line;
extern const char *graph_dotted_line;
/* On most systems <limits.h> would have given us this, but /* On most systems <limits.h> would have given us this, but
* not on some systems (e.g. GNU/Hurd). * not on some systems (e.g. GNU/Hurd).
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册