diff options
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r-- | tools/perf/config/Makefile | 14 |
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 |
49 | endif | 49 | endif |
50 | 50 | ||
51 | ifeq ($(ARCH),powerpc) | ||
52 | CFLAGS += -DHAVE_SKIP_CALLCHAIN_IDX | ||
53 | endif | ||
54 | |||
51 | ifeq ($(LIBUNWIND_LIBS),) | 55 | ifeq ($(LIBUNWIND_LIBS),) |
52 | NO_LIBUNWIND := 1 | 56 | NO_LIBUNWIND := 1 |
53 | else | 57 | else |
@@ -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 = \ | |||
195 | VF_FEATURE_TESTS = \ | 200 | VF_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 | ||
269 | CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE | 275 | CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE |
270 | 276 | ||
277 | ifeq ($(feature-sync-compare-and-swap), 1) | ||
278 | CFLAGS += -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT | ||
279 | endif | ||
280 | |||
271 | ifndef NO_BIONIC | 281 | ifndef 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 |
591 | endif | 601 | endif |
592 | 602 | ||
603 | ifdef HAVE_KVM_STAT_SUPPORT | ||
604 | CFLAGS += -DHAVE_KVM_STAT_SUPPORT | ||
605 | endif | ||
606 | |||
593 | # Among the variables below, these: | 607 | # Among the variables below, these: |
594 | # perfexecdir | 608 | # perfexecdir |
595 | # template_dir | 609 | # template_dir |