summaryrefslogtreecommitdiff
path: root/tools/perf/util/cache.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 23:34:29 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 23:39:19 +0300
commit78478269d2c9be315164d15c14e6e222a06d2f40 (patch)
tree2f2745ab81cf650f8921c6430da30a84734d7a39 /tools/perf/util/cache.h
parent0741208a7cd4fc651316f1f861ad9e83495765fc (diff)
downloadlinux-78478269d2c9be315164d15c14e6e222a06d2f40.tar.xz
perf llvm: Use realpath to canonicalize paths
To kill the last user of make_nonrelative_path(), that gets ditched, one more panicking function killed. Cc: Adrian Hunter <adrian.hunter@intel.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-3hu56rvyh4q5gxogovb6ko8a@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cache.h')
-rw-r--r--tools/perf/util/cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index da322bea56f7..1f5a93c2c9a2 100644
--- a/tools/perf/util/cache.h
+++ b/tools/perf/util/cache.h
@@ -64,7 +64,6 @@ static inline int is_absolute_path(const char *path)
return path[0] == '/';
}
-const char *make_nonrelative_path(const char *path);
char *strip_path_suffix(const char *path, const char *suffix);
char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));