diff options
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r-- | tools/perf/config/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 648e31ff4021..cc224080b525 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -198,6 +198,7 @@ CORE_FEATURE_TESTS = \ | |||
198 | libpython-version \ | 198 | libpython-version \ |
199 | libslang \ | 199 | libslang \ |
200 | libunwind \ | 200 | libunwind \ |
201 | pthread-attr-setaffinity-np \ | ||
201 | stackprotector-all \ | 202 | stackprotector-all \ |
202 | timerfd \ | 203 | timerfd \ |
203 | libdw-dwarf-unwind \ | 204 | libdw-dwarf-unwind \ |
@@ -226,6 +227,7 @@ VF_FEATURE_TESTS = \ | |||
226 | libelf-getphdrnum \ | 227 | libelf-getphdrnum \ |
227 | libelf-mmap \ | 228 | libelf-mmap \ |
228 | libpython-version \ | 229 | libpython-version \ |
230 | pthread-attr-setaffinity-np \ | ||
229 | stackprotector-all \ | 231 | stackprotector-all \ |
230 | timerfd \ | 232 | timerfd \ |
231 | libunwind-debug-frame \ | 233 | libunwind-debug-frame \ |
@@ -301,6 +303,10 @@ ifeq ($(feature-sync-compare-and-swap), 1) | |||
301 | CFLAGS += -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT | 303 | CFLAGS += -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT |
302 | endif | 304 | endif |
303 | 305 | ||
306 | ifeq ($(feature-pthread-attr-setaffinity-np), 1) | ||
307 | CFLAGS += -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP | ||
308 | endif | ||
309 | |||
304 | ifndef NO_BIONIC | 310 | ifndef NO_BIONIC |
305 | $(call feature_check,bionic) | 311 | $(call feature_check,bionic) |
306 | ifeq ($(feature-bionic), 1) | 312 | ifeq ($(feature-bionic), 1) |