]> git.baikalelectronics.ru Git - kernel.git/commit
tools build feature: Check if get_current_dir_name() is available
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Nov 2018 19:56:22 +0000 (16:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Nov 2018 20:12:17 +0000 (12:12 -0800)
commit834fadcc59f3df81f9e42632c55fe4a306d6670d
tree1b7f3c18e7c8c17292fe84a8b4843fe14a651e97
parentfc4b4399a20b638794c64cb9dd8e4346656435fd
tools build feature: Check if get_current_dir_name() is available

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>
tools/build/Makefile.feature
tools/build/feature/Makefile
tools/build/feature/test-all.c
tools/build/feature/test-get_current_dir_name.c [new file with mode: 0644]
tools/perf/Makefile.config
tools/perf/util/Build
tools/perf/util/get_current_dir_name.c [new file with mode: 0644]
tools/perf/util/util.h