From ddfb5771d89173bfb07cad795fef023c932b70ac Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 23 Nov 2009 17:51:08 -0200 Subject: [PATCH] --- yaml --- r: 169759 b: refs/heads/master c: 2890284bcf5c13c10fae8a0c20ad2f575118a092 h: refs/heads/master i: 169757: d652302f2aa34e217cc61f3e631b1e3d552b5527 169755: 69bd89875686c9eb05eecedc7865347bb496c721 169751: 0794a8175754c9b60f2762ab02e9a35ff8562a59 169743: c81cc149abf402548eded61c5e83b4a30475a710 169727: bee6342f96705e69683fca04ab71f30f4b2d8542 v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-top.c | 7 ------- trunk/tools/perf/util/ctype.c | 8 ++++++++ trunk/tools/perf/util/util.h | 3 +++ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index bc1c0767108c..c893cfbf4e32 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cc612d8199089413719397c9d92e5823da578eac +refs/heads/master: 2890284bcf5c13c10fae8a0c20ad2f575118a092 diff --git a/trunk/tools/perf/builtin-top.c b/trunk/tools/perf/builtin-top.c index eef9caab6eee..6a5de90e9b83 100644 --- a/trunk/tools/perf/builtin-top.c +++ b/trunk/tools/perf/builtin-top.c @@ -80,13 +80,6 @@ static bool hide_kernel_symbols = false; static bool hide_user_symbols = false; static struct winsize winsize; const char *vmlinux_name; -static const char *graph_line = - "_____________________________________________________________________" - "_____________________________________________________________________"; -static const char *graph_dotted_line = - "---------------------------------------------------------------------" - "---------------------------------------------------------------------" - "---------------------------------------------------------------------"; /* * Source diff --git a/trunk/tools/perf/util/ctype.c b/trunk/tools/perf/util/ctype.c index 0b791bd346bc..35073621e5de 100644 --- a/trunk/tools/perf/util/ctype.c +++ b/trunk/tools/perf/util/ctype.c @@ -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 */ /* Nothing in the 128.. range */ }; + +const char *graph_line = + "_____________________________________________________________________" + "_____________________________________________________________________"; +const char *graph_dotted_line = + "---------------------------------------------------------------------" + "---------------------------------------------------------------------" + "---------------------------------------------------------------------"; diff --git a/trunk/tools/perf/util/util.h b/trunk/tools/perf/util/util.h index f2203a0946bc..e1c623e0c99e 100644 --- a/trunk/tools/perf/util/util.h +++ b/trunk/tools/perf/util/util.h @@ -84,6 +84,9 @@ #include #endif +extern const char *graph_line; +extern const char *graph_dotted_line; + /* On most systems would have given us this, but * not on some systems (e.g. GNU/Hurd). */