perf tools: Ditch rtrim(), use strim() from tools/lib
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jun 2019 15:13:13 +0000 (12:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jul 2019 01:50:33 +0000 (22:50 -0300)
commit13c230ab6e56c6ae3a968f01f4c6505b794cecad
treee29882ad70bfa5268376f411084c68c5c5d37229
parent3ca43b6053c9a5dbbffb02aa010c1ccf8eb460a8
perf tools: Ditch rtrim(), use strim() from tools/lib

Cleaning up a bit more tools/perf/util/ by using things we got from the
kernel and have in tools/lib/

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-7hluuoveryoicvkclshzjf1k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/util/annotate.c
tools/perf/util/header.c
tools/perf/util/pmu.c
tools/perf/util/python-ext-sources
tools/perf/util/srcline.c
tools/perf/util/string.c
tools/perf/util/string2.h
tools/perf/util/thread_map.c