linux-sg2042/tools/build/feature
Masami Hiramatsu e26e63be64 perf build: Add sdt feature detection
This checks whether sys/sdt.h is available or not, which is required for
DTRACE_PROBE().

We can disable this feature by passing NO_SDT=1 when building.

This flag will be used for SDT test case and further SDT events in
perftools.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/146831795615.17065.17513820540591053933.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-13 23:09:09 -03:00
..
.gitignore
Makefile perf build: Add sdt feature detection 2016-07-13 23:09:09 -03:00
test-all.c perf build: Add sdt feature detection 2016-07-13 23:09:09 -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-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-dwarf.c
test-dwarf_getlocations.c perf probe: Check if dwarf_getlocations() is available 2016-04-06 10:44:28 -03:00
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-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.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
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.c
test-lzma.c tools build: Add feature check for lzma library 2015-03-21 14:53:39 -03:00
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-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