aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r--tools/perf/config/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index f30ac5e5d271..1f67aa02d240 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -48,6 +48,10 @@ ifneq ($(ARCH),$(filter $(ARCH),x86 arm))
48 NO_LIBDW_DWARF_UNWIND := 1 48 NO_LIBDW_DWARF_UNWIND := 1
49endif 49endif
50 50
51ifeq ($(ARCH),powerpc)
52 CFLAGS += -DHAVE_SKIP_CALLCHAIN_IDX
53endif
54
51ifeq ($(LIBUNWIND_LIBS),) 55ifeq ($(LIBUNWIND_LIBS),)
52 NO_LIBUNWIND := 1 56 NO_LIBUNWIND := 1
53else 57else
@@ -160,6 +164,7 @@ CORE_FEATURE_TESTS = \
160 backtrace \ 164 backtrace \
161 dwarf \ 165 dwarf \
162 fortify-source \ 166 fortify-source \
167 sync-compare-and-swap \
163 glibc \ 168 glibc \
164 gtk2 \ 169 gtk2 \
165 gtk2-infobar \ 170 gtk2-infobar \
@@ -195,6 +200,7 @@ LIB_FEATURE_TESTS = \
195VF_FEATURE_TESTS = \ 200VF_FEATURE_TESTS = \
196 backtrace \ 201 backtrace \
197 fortify-source \ 202 fortify-source \
203 sync-compare-and-swap \
198 gtk2-infobar \ 204 gtk2-infobar \
199 libelf-getphdrnum \ 205 libelf-getphdrnum \
200 libelf-mmap \ 206 libelf-mmap \
@@ -268,6 +274,10 @@ CFLAGS += -I$(LIB_INCLUDE)
268 274
269CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 275CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
270 276
277ifeq ($(feature-sync-compare-and-swap), 1)
278 CFLAGS += -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT
279endif
280
271ifndef NO_BIONIC 281ifndef NO_BIONIC
272 $(call feature_check,bionic) 282 $(call feature_check,bionic)
273 ifeq ($(feature-bionic), 1) 283 ifeq ($(feature-bionic), 1)
@@ -590,6 +600,10 @@ ifndef NO_LIBNUMA
590 endif 600 endif
591endif 601endif
592 602
603ifdef HAVE_KVM_STAT_SUPPORT
604 CFLAGS += -DHAVE_KVM_STAT_SUPPORT
605endif
606
593# Among the variables below, these: 607# Among the variables below, these:
594# perfexecdir 608# perfexecdir
595# template_dir 609# template_dir