summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/Makefile
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-07-14 12:02:53 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-07-16 22:57:36 +0200
commitf6d313699a9612a30fabe05bf2c9302c1408b5cf (patch)
tree4889e88c61aa7c9bf3ad682503b26ddff57b9ffa /tools/perf/config/feature-checks/Makefile
parentperf evlist: Pass mmap parameters in a struct (diff)
downloadlinux-f6d313699a9612a30fabe05bf2c9302c1408b5cf.tar.xz
linux-f6d313699a9612a30fabe05bf2c9302c1408b5cf.zip
perf tools: Add feature test for __sync_val_compare_and_swap
Add a feature test for __sync_val_compare_and_swap() and __sync_bool_compare_and_swap() Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1405332185-4050-30-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config/feature-checks/Makefile')
-rw-r--r--tools/perf/config/feature-checks/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/Makefile b/tools/perf/config/feature-checks/Makefile
index 64c84e5f0514..6088f8d8a434 100644
--- a/tools/perf/config/feature-checks/Makefile
+++ b/tools/perf/config/feature-checks/Makefile
@@ -5,6 +5,7 @@ FILES= \
test-bionic.bin \
test-dwarf.bin \
test-fortify-source.bin \
+ test-sync-compare-and-swap.bin \
test-glibc.bin \
test-gtk2.bin \
test-gtk2-infobar.bin \
@@ -141,6 +142,9 @@ test-timerfd.bin:
test-libdw-dwarf-unwind.bin:
$(BUILD)
+test-sync-compare-and-swap.bin:
+ $(BUILD) -Werror
+
-include *.d
###############################