summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/namespaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/namespaces.h')
-rw-r--r--tools/perf/util/namespaces.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/namespaces.h b/tools/perf/util/namespaces.h
index f19aa41119ae..05d82601c9a6 100644
--- a/tools/perf/util/namespaces.h
+++ b/tools/perf/util/namespaces.h
@@ -49,6 +49,8 @@ void nsinfo__put(struct nsinfo *nsi);
void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc);
void nsinfo__mountns_exit(struct nscookie *nc);
+char *nsinfo__realpath(const char *path, struct nsinfo *nsi);
+
static inline void __nsinfo__zput(struct nsinfo **nsip)
{
if (nsip) {
OpenPOWER on IntegriCloud