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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-bionic.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-dwarf.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-dwarf_getlocations.c perf probe: Check if dwarf_getlocations() is available 2016-04-06 10:44:28 -03:00
test-fortify-source.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-gtk2.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-hello.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libaudit.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libbabeltrace.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libbfd.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libcrypto.c perf build: Add libcrypto feature detection 2016-02-05 09:46:45 -03:00
test-libdw-dwarf-unwind.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libelf.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libnuma.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libperl.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libpython-version.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libpython.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-libslang.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -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-x86_64.c perf build: Add build-test for libunwind cross-platforms support 2016-05-11 12:24:58 -03:00
test-libunwind.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
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 perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-sdt.c perf build: Add sdt feature detection 2016-07-13 23:09:09 -03:00
test-stackprotector-all.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-sync-compare-and-swap.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-timerfd.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00
test-zlib.c perf build: Move feature checks code under tools/build 2015-03-21 14:53:35 -03:00