commit | 2a60689a33a61f000bd90596b1289babcb861cd9 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Jun 26 12:24:03 2019 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Jul 01 22:50:40 2019 -0300 |
tree | 3c47e4a88c0bbdde57bf42b8a5f1b9b6f08eee51 | |
parent | 13c230ab6e56c6ae3a968f01f4c6505b794cecad [diff] |
tools lib: Adopt strreplace() from the kernel We'll use it to further reduce the size of tools/perf/util/string.c, replacing the strxfrchar() equivalent function we have there. 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-x3r61ikjrso1buygxwke8id3@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>