perf tools: Move extra string util functions to util/string2.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Apr 2017 19:51:59 +0000 (16:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:51 +0000 (13:01 -0300)
commita067558e2fa72445e8f6e6b2dd372a82afae6e49
tree5f8a79cec16d185a0589bf4654cdae2bde91a8b8
parent632a5cabea21eb079b788d2bb4a9318bd6fff5e1
perf tools: Move extra string util functions to util/string2.h

Moving them from util.h, where they don't belong. Since libc already
have string.h, name it slightly differently, as string2.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-eh3vz5sqxsrdd8lodoro4jrw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
23 files changed:
tools/perf/bench/mem-functions.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-trace.c
tools/perf/ui/browser.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/hists.c
tools/perf/ui/stdio/hist.c
tools/perf/util/annotate.c
tools/perf/util/dso.c
tools/perf/util/dwarf-aux.c
tools/perf/util/event.c
tools/perf/util/header.c
tools/perf/util/parse-events.c
tools/perf/util/pmu.c
tools/perf/util/probe-event.c
tools/perf/util/probe-file.c
tools/perf/util/probe-finder.c
tools/perf/util/strfilter.c
tools/perf/util/string.c
tools/perf/util/string2.h [new file with mode: 0644]
tools/perf/util/thread_map.c
tools/perf/util/util.h