summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/namespaces.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-05 14:16:15 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-09 10:13:26 -0300
commite5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c (patch)
tree9620a795fa21bc14f3f1fcb311f8ddee98b9bff8 /tools/perf/util/namespaces.c
parent245aec7f7f4ca95b924f005d604bab9d838b5eb1 (diff)
downloadlinux-stable-e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c.tar.gz
linux-stable-e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c.tar.bz2
linux-stable-e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c.zip
perf tools: Move get_current_dir_name() cond prototype out of util.h
And in a separate header, so that we erode util.h a bit more. 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-xpzvuu9d0gei9jl9bkzgobln@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/namespaces.c')
-rw-r--r--tools/perf/util/namespaces.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c
index 023c4efd788d..fda2fa1e8819 100644
--- a/tools/perf/util/namespaces.c
+++ b/tools/perf/util/namespaces.c
@@ -7,6 +7,7 @@
#include "namespaces.h"
#include "util.h"
#include "event.h"
+#include "get_current_dir_name.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>