]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib string: Adopt prefixcmp() from perf and subcmd
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Apr 2017 18:49:21 +0000 (15:49 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Apr 2017 18:49:21 +0000 (15:49 -0300)
commit93a7db49607b9e7cc9981c0ee364705e09f9177b
treec0cf51cd06c2b98bf45ef786f88c9b662c6645e8
parentb57b9c972fe0dab052fa8b3744f17ecae0b0623f
tools lib string: Adopt prefixcmp() from perf and subcmd

Both had copies originating from git.git, move those to
tools/lib/string.c, getting both tools/lib/subcmd/ and tools/perf/ to
use it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-uidwtticro1qhttzd2rkrkg1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/string.h
tools/lib/string.c
tools/lib/subcmd/help.c
tools/lib/subcmd/parse-options.c
tools/lib/subcmd/subcmd-util.h
tools/perf/util/strbuf.c
tools/perf/util/util.h