aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string2.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-06-26 12:13:13 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-01 22:50:33 -0300
commit13c230ab6e56c6ae3a968f01f4c6505b794cecad (patch)
treee29882ad70bfa5268376f411084c68c5c5d37229 /tools/perf/util/string2.h
parentperf tools: Remove trim() implementation, use tools/lib's strim() (diff)
downloadlinux-dev-13c230ab6e56c6ae3a968f01f4c6505b794cecad.tar.xz
linux-dev-13c230ab6e56c6ae3a968f01f4c6505b794cecad.zip
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>
Diffstat (limited to 'tools/perf/util/string2.h')
-rw-r--r--tools/perf/util/string2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/string2.h b/tools/perf/util/string2.h
index 5bc3fea52cdc..6da835ad8f5b 100644
--- a/tools/perf/util/string2.h
+++ b/tools/perf/util/string2.h
@@ -23,8 +23,6 @@ static inline bool strisglob(const char *str)
int strtailcmp(const char *s1, const char *s2);
char *strxfrchar(char *s, char from, char to);
-char *rtrim(char *s);
-
char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints);
static inline char *asprintf_expr_in_ints(const char *var, size_t nints, int *ints)