linux/tools/build/feature
Arnaldo Carvalho de Melo 120010cb1e tools build: Add test for sched_getcpu()
Instead of trying to go on adding more ifdef conditions, do a feature
test and define HAVE_SCHED_GETCPU_SUPPORT instead, then use it to
provide the prototype. No need to change the stub, as it is already a
__weak symbol.

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: http://lkml.kernel.org/n/tip-yge89er9g90sc0v6k0a0r5tr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-03-03 19:07:19 -03:00
..
.gitignore
Makefile tools build: Add test for sched_getcpu() 2017-03-03 19:07:19 -03:00
test-all.c tools build: Add test for sched_getcpu() 2017-03-03 19:07:19 -03:00
test-backtrace.c
test-bionic.c
test-bpf.c bpf tools: Fix syscall argument 2016-04-28 09:58:57 -03:00
test-clang.cpp tools build: Add feature detection for clang 2016-12-05 15:51:43 -03:00
test-compile.c tools build: Check basic headers for test-compile feature checker 2016-01-27 11:59:32 -03:00
test-cplus-demangle.c
test-cxx.cpp tools build: Add feature detection for g++ 2016-10-05 19:59:35 -03:00
test-dwarf_getlocations.c perf probe: Check if dwarf_getlocations() is available 2016-04-06 10:44:28 -03:00
test-dwarf.c
test-fortify-source.c
test-get_cpuid.c tools build: Add test for presence of __get_cpuid() gcc builtin 2015-09-17 13:14:35 -03:00
test-glibc.c perf tools: Fix build errors with mipsel-linux-uclibc compiler 2015-08-05 16:56:16 -03:00
test-gtk2-infobar.c
test-gtk2.c
test-hello.c
test-jvmti.c tools build: Add jvmti feature detection support 2016-11-14 12:40:32 -03:00
test-libaudit.c
test-libbabeltrace.c
test-libbfd.c
test-libcrypto.c perf build: Add libcrypto feature detection 2016-02-05 09:46:45 -03:00
test-libdw-dwarf-unwind.c
test-libelf-gelf_getnote.c perf tools: Add feature detection for gelf_getnote() 2016-07-12 15:20:41 -03:00
test-libelf-getphdrnum.c
test-libelf-getshdrstrndx.c perf build: Add feature detection for libelf's elf_getshdrstrndx() 2016-07-04 19:38:59 -03:00
test-libelf-mmap.c
test-libelf.c
test-libnuma.c
test-libperl.c
test-libpython-version.c
test-libpython.c
test-libslang.c
test-libunwind-aarch64.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
test-libunwind-arm.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
test-libunwind-debug-frame-aarch64.c perf build: Add build-test for debug-frame on arm/arm64 2016-05-11 12:24:58 -03:00
test-libunwind-debug-frame-arm.c perf build: Add build-test for debug-frame on arm/arm64 2016-05-11 12:24:58 -03:00
test-libunwind-debug-frame.c
test-libunwind-x86_64.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
test-libunwind-x86.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
test-libunwind.c
test-llvm-version.cpp perf build: Check LLVM version in feature check 2016-12-06 13:21:55 -03:00
test-llvm.cpp perf build: Check LLVM version in feature check 2016-12-06 13:21:55 -03:00
test-lzma.c
test-numa_num_possible_cpus.c tools build: Add test for presence of numa_num_possible_cpus() in libnuma 2015-09-17 13:14:35 -03:00
test-pthread-attr-setaffinity-np.c
test-sched_getcpu.c tools build: Add test for sched_getcpu() 2017-03-03 19:07:19 -03:00
test-sdt.c perf build: Add sdt feature detection 2016-07-13 23:09:09 -03:00
test-stackprotector-all.c
test-sync-compare-and-swap.c
test-timerfd.c
test-zlib.c