aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-07-05 17:16:15 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-07-09 13:13:26 +0000
commite5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c (patch)
tree9620a795fa21bc14f3f1fcb311f8ddee98b9bff8 /tools/perf/util/util.h
parentperf namespaces: Move the conditional setns() prototype to namespaces.h (diff)
downloadkernel-e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c.tar.gz
kernel-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 <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r--tools/perf/util/util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 59fe33708090..cfc4d85bbd42 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -59,10 +59,6 @@ int fetch_kernel_version(unsigned int *puint,
const char *perf_tip(const char *dirpath);
-#ifndef HAVE_GET_CURRENT_DIR_NAME
-char *get_current_dir_name(void);
-#endif
-
#ifndef HAVE_SCHED_GETCPU_SUPPORT
int sched_getcpu(void);
#endif