tools perf: Move from sane_ctype.h obtained from git to the Linux's original
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 20:27:31 +0000 (17:27 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jun 2019 00:02:47 +0000 (21:02 -0300)
commit3052ba56bcb589046eca6a931bd897742653d2cb
treee0a21f954cedf103bc42423d24cc15239fae73b2
parent1b2fc358ddfb1b0915922e441182cda7043f5116
tools perf: Move from sane_ctype.h obtained from git to the Linux's original

We got the sane_ctype.h headers from git and kept using it so far, but
since that code originally came from the kernel sources to the git
sources, perhaps its better to just use the one in the kernel, so that
we can leverage tools/perf/check_headers.sh to be notified when our copy
gets out of sync, i.e. when fixes or goodies are added to the code we've
copied.

This will help with things like tools/lib/string.c where we want to have
more things in common with the kernel, such as strim(), skip_spaces(),
etc so as to go on removing the things that we have in tools/perf/util/
and instead using the code in the kernel, indirectly and removing things
like EXPORT_SYMBOL(), etc, getting notified when fixes and improvements
are made to the original code.

Hopefully this also should help with reducing the difference of code
hosted in tools/ to the one in the kernel proper.

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-7k9868l713wqtgo01xxygn12@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
46 files changed:
tools/include/linux/ctype.h [new file with mode: 0644]
tools/lib/ctype.c [new file with mode: 0644]
tools/lib/symbol/kallsyms.c
tools/lib/symbol/kallsyms.h
tools/perf/MANIFEST
tools/perf/arch/x86/util/machine.c
tools/perf/builtin-kmem.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/check-headers.sh
tools/perf/tests/code-reading.c
tools/perf/ui/browser.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/browsers/map.c
tools/perf/ui/stdio/hist.c
tools/perf/util/Build
tools/perf/util/annotate.c
tools/perf/util/auxtrace.c
tools/perf/util/build-id.c
tools/perf/util/config.c
tools/perf/util/cpumap.c
tools/perf/util/ctype.c [deleted file]
tools/perf/util/data-convert-bt.c
tools/perf/util/debug.c
tools/perf/util/demangle-java.c
tools/perf/util/env.c
tools/perf/util/event.c
tools/perf/util/evsel.c
tools/perf/util/header.c
tools/perf/util/jitdump.c
tools/perf/util/machine.c
tools/perf/util/print_binary.c
tools/perf/util/probe-event.c
tools/perf/util/probe-finder.h
tools/perf/util/python-ext-sources
tools/perf/util/sane_ctype.h [deleted file]
tools/perf/util/stat-display.c
tools/perf/util/strfilter.c
tools/perf/util/string.c
tools/perf/util/symbol-elf.c
tools/perf/util/symbol.c
tools/perf/util/trace-event-parse.c