diff options
author | 2017-04-17 16:51:59 -0300 | |
---|---|---|
committer | 2017-04-19 13:01:51 -0300 | |
commit | a067558e2fa72445e8f6e6b2dd372a82afae6e49 (patch) | |
tree | 5f8a79cec16d185a0589bf4654cdae2bde91a8b8 /tools/perf/builtin-stat.c | |
parent | perf tools: Move srcline definitions to separate header (diff) | |
download | linux-a067558e2fa72445e8f6e6b2dd372a82afae6e49.tar.gz linux-a067558e2fa72445e8f6e6b2dd372a82afae6e49.tar.bz2 linux-a067558e2fa72445e8f6e6b2dd372a82afae6e49.zip |
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>
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r-- | tools/perf/builtin-stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 5abef25f9983..1da86e6708c0 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -64,6 +64,7 @@ #include "util/session.h" #include "util/tool.h" #include "util/group.h" +#include "util/string2.h" #include "asm/bug.h" #include <linux/time64.h> |