summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/build-id.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-25 16:45:59 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-25 16:45:59 +0200
commit6db81643fe41f51cf9f6fd10558b8b323d9198ba (patch)
tree743c48d4921a5fc8644e209fca3d48737896549c /tools/perf/util/build-id.h
parentMerge tag 'perf-core-for-mingo-4.12-20170424' of git://git.kernel.org/pub/scm... (diff)
downloadlinux-6db81643fe41f51cf9f6fd10558b8b323d9198ba.tar.xz
linux-6db81643fe41f51cf9f6fd10558b8b323d9198ba.zip
perf buildid: Move prototypes from util.h to build-id.h
Where they belong. Link: http://lkml.kernel.org/n/tip-94m3dziejxgo7k0488q3mqjm@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/build-id.h')
-rw-r--r--tools/perf/util/build-id.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/build-id.h b/tools/perf/util/build-id.h
index a96081121179..8a89b195c1fc 100644
--- a/tools/perf/util/build-id.h
+++ b/tools/perf/util/build-id.h
@@ -44,6 +44,10 @@ bool build_id_cache__cached(const char *sbuild_id);
int build_id_cache__add_s(const char *sbuild_id,
const char *name, bool is_kallsyms, bool is_vdso);
int build_id_cache__remove_s(const char *sbuild_id);
+
+extern char buildid_dir[];
+
+void set_buildid_dir(const char *dir);
void disable_buildid_cache(void);
#endif