perf tools: Move get_current_dir_name() cond prototype out of util.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Jul 2019 17:16:15 +0000 (14:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Jul 2019 13:13:26 +0000 (10:13 -0300)
commite5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c
tree9620a795fa21bc14f3f1fcb311f8ddee98b9bff8
parent245aec7f7f4ca95b924f005d604bab9d838b5eb1
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>
tools/perf/util/get_current_dir_name.c
tools/perf/util/get_current_dir_name.h [new file with mode: 0644]
tools/perf/util/namespaces.c
tools/perf/util/util.h