Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169759
b: refs/heads/master
c: 2890284
h: refs/heads/master
i:
  169757: d652302
  169755: 69bd898
  169751: 0794a81
  169743: c81cc14
  169727: bee6342
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Nov 23, 2009
1 parent 76dd2bb commit ddfb577
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc612d8199089413719397c9d92e5823da578eac
refs/heads/master: 2890284bcf5c13c10fae8a0c20ad2f575118a092
7 changes: 0 additions & 7 deletions trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions trunk/tools/perf/util/ctype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
"---------------------------------------------------------------------"
"---------------------------------------------------------------------"
"---------------------------------------------------------------------";
3 changes: 3 additions & 0 deletions trunk/tools/perf/util/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
#include <iconv.h>
#endif

extern const char *graph_line;
extern const char *graph_dotted_line;

/* On most systems <limits.h> would have given us this, but
* not on some systems (e.g. GNU/Hurd).
*/
Expand Down

0 comments on commit ddfb577

Please sign in to comment.