aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/get_current_dir_name.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-11-19tools build feature: Check if get_current_dir_name() is availableArnaldo Carvalho de Melo1-0/+18
As the namespace support code will use this, which is not available in some non _GNU_SOURCE libraries such as Android's bionic used in my container build tests (r12b and r15c at the moment). Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-x56ypm940pwclwu45d7jfj47@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>