summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ctype.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2019-06-25 22:31:26 +0200
committerArnaldo Carvalho de Melo2019-06-25 22:31:26 +0200
commit6a9fa4e3bddedc027b691b6470c500d51d04e56c (patch)
tree4a2c882091cc9693cd5dfa9e12edd982984f7d97 /tools/perf/util/ctype.c
parentperf ctype: Remove now unused 'spaces' variable (diff)
downloadkernel-qcow2-linux-6a9fa4e3bddedc027b691b6470c500d51d04e56c.tar.gz
kernel-qcow2-linux-6a9fa4e3bddedc027b691b6470c500d51d04e56c.tar.xz
kernel-qcow2-linux-6a9fa4e3bddedc027b691b6470c500d51d04e56c.zip
perf string: Move 'dots' and 'graph_dotted_line' out of sane_ctype.h
Those are not in that file in the git repo, lets move it from there so that we get that sane ctype code fully isolated to allow getting it in sync either with the git sources or better with the kernel sources (include/linux/ctype.h + lib/ctype.h), that way we can use check_headers.h to get notified when changes are made in the original code so that we can cherry-pick. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-ioh5sghn3943j0rxg6lb2dgs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ctype.c')
-rw-r--r--tools/perf/util/ctype.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/perf/util/ctype.c b/tools/perf/util/ctype.c
index 75c0da59c230..f84ecd9e5329 100644
--- a/tools/perf/util/ctype.c
+++ b/tools/perf/util/ctype.c
@@ -30,12 +30,3 @@ 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_dotted_line =
- "---------------------------------------------------------------------"
- "---------------------------------------------------------------------"
- "---------------------------------------------------------------------";
-const char *dots =
- "....................................................................."
- "....................................................................."
- ".....................................................................";