aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2014-01-03 09:32:33 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-01-13 08:06:23 -0500
commitf7c64474242701eb24f6fe96f8df0389a2b800f7 (patch)
tree7ba5c8ab17938dd72a16d3dd7194975b552f28bf /tools
parenta6cf5f39236c2ea6008a2f5cb908c3181c123096 (diff)
perf tests: Fix installation tests path setup
Currently installation tests work only over x86_64, adding arch check to make it work over i386 as well. NOTE looks like x86 is the only arch running tests, we need some IS_(32/64) flag to make this generic. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1388759553-12974-2-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/tests/make30
1 files changed, 20 insertions, 10 deletions
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index f641c35f2321..e341088de8f3 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -1,6 +1,16 @@
1PERF := . 1PERF := .
2MK := Makefile 2MK := Makefile
3 3
4include config/Makefile.arch
5
6# FIXME looks like x86 is the only arch running tests ;-)
7# we need some IS_(32/64) flag to make this generic
8ifeq ($(IS_X86_64),1)
9lib = lib64
10else
11lib = lib
12endif
13
4has = $(shell which $1 2>/dev/null) 14has = $(shell which $1 2>/dev/null)
5 15
6# standard single make variable specified 16# standard single make variable specified
@@ -118,16 +128,16 @@ installed_files_bin := bin/perf
118installed_files_bin += etc/bash_completion.d/perf 128installed_files_bin += etc/bash_completion.d/perf
119installed_files_bin += libexec/perf-core/perf-archive 129installed_files_bin += libexec/perf-core/perf-archive
120 130
121installed_files_plugins := lib64/traceevent/plugins/plugin_cfg80211.so 131installed_files_plugins := $(lib)/traceevent/plugins/plugin_cfg80211.so
122installed_files_plugins += lib64/traceevent/plugins/plugin_scsi.so 132installed_files_plugins += $(lib)/traceevent/plugins/plugin_scsi.so
123installed_files_plugins += lib64/traceevent/plugins/plugin_xen.so 133installed_files_plugins += $(lib)/traceevent/plugins/plugin_xen.so
124installed_files_plugins += lib64/traceevent/plugins/plugin_function.so 134installed_files_plugins += $(lib)/traceevent/plugins/plugin_function.so
125installed_files_plugins += lib64/traceevent/plugins/plugin_sched_switch.so 135installed_files_plugins += $(lib)/traceevent/plugins/plugin_sched_switch.so
126installed_files_plugins += lib64/traceevent/plugins/plugin_mac80211.so 136installed_files_plugins += $(lib)/traceevent/plugins/plugin_mac80211.so
127installed_files_plugins += lib64/traceevent/plugins/plugin_kvm.so 137installed_files_plugins += $(lib)/traceevent/plugins/plugin_kvm.so
128installed_files_plugins += lib64/traceevent/plugins/plugin_kmem.so 138installed_files_plugins += $(lib)/traceevent/plugins/plugin_kmem.so
129installed_files_plugins += lib64/traceevent/plugins/plugin_hrtimer.so 139installed_files_plugins += $(lib)/traceevent/plugins/plugin_hrtimer.so
130installed_files_plugins += lib64/traceevent/plugins/plugin_jbd2.so 140installed_files_plugins += $(lib)/traceevent/plugins/plugin_jbd2.so
131 141
132installed_files_all := $(installed_files_bin) 142installed_files_all := $(installed_files_bin)
133installed_files_all += $(installed_files_plugins) 143installed_files_all += $(installed_files_plugins)