linux_dsm_epyc7002/tools/perf/config/feature-checks
Josh Boyer 39f5704399 perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check
The man page for pthread_attr_set_affinity_np states that _GNU_SOURCE
must be defined before pthread.h is included in order to get the proper
function declaration.  Define this in the Makefile.

Without this defined, the feature check fails on a Fedora system with
gcc5 and then the perf build later fails with conflicting prototypes for
the function.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Link: http://lkml.kernel.org/r/20150211162404.GA15522@hansolo.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-02-11 17:38:55 -03:00
..
.gitignore perf config: Ignore generated files in feature-checks 2013-12-23 16:49:51 -03:00
Makefile perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check 2015-02-11 17:38:55 -03:00
test-all.c perf tools: Provide stub for missing pthread_attr_setaffinity_np 2015-01-28 12:43:32 -03:00
test-backtrace.c
test-bionic.c
test-compile.c perf tools: Build programs to copy 32-bit compatibility 2014-10-29 10:32:48 -02:00
test-cplus-demangle.c
test-dwarf.c
test-fortify-source.c
test-glibc.c
test-gtk2-infobar.c
test-gtk2.c
test-hello.c
test-libaudit.c
test-libbfd.c
test-libdw-dwarf-unwind.c perf tools: Add feature check for libdw dwarf unwind 2014-02-24 09:29:36 -03:00
test-libelf-getphdrnum.c
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-debug-frame.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 08:51:29 +09:00
test-libunwind.c
test-pthread-attr-setaffinity-np.c perf tools: Provide stub for missing pthread_attr_setaffinity_np 2015-01-28 12:43:32 -03:00
test-stackprotector-all.c
test-sync-compare-and-swap.c perf tools: Add feature test for __sync_val_compare_and_swap 2014-07-16 17:57:36 -03:00
test-timerfd.c
test-zlib.c perf tools: Add gzip decompression support for kernel module 2014-11-05 10:11:26 -03:00