Commit f7c64474 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

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: default avatarJiri 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.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a6cf5f39
PERF := . PERF := .
MK := Makefile MK := Makefile
include config/Makefile.arch
# FIXME looks like x86 is the only arch running tests ;-)
# we need some IS_(32/64) flag to make this generic
ifeq ($(IS_X86_64),1)
lib = lib64
else
lib = lib
endif
has = $(shell which $1 2>/dev/null) has = $(shell which $1 2>/dev/null)
# standard single make variable specified # standard single make variable specified
...@@ -118,16 +128,16 @@ installed_files_bin := bin/perf ...@@ -118,16 +128,16 @@ installed_files_bin := bin/perf
installed_files_bin += etc/bash_completion.d/perf installed_files_bin += etc/bash_completion.d/perf
installed_files_bin += libexec/perf-core/perf-archive installed_files_bin += libexec/perf-core/perf-archive
installed_files_plugins := lib64/traceevent/plugins/plugin_cfg80211.so installed_files_plugins := $(lib)/traceevent/plugins/plugin_cfg80211.so
installed_files_plugins += lib64/traceevent/plugins/plugin_scsi.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_scsi.so
installed_files_plugins += lib64/traceevent/plugins/plugin_xen.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_xen.so
installed_files_plugins += lib64/traceevent/plugins/plugin_function.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_function.so
installed_files_plugins += lib64/traceevent/plugins/plugin_sched_switch.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_sched_switch.so
installed_files_plugins += lib64/traceevent/plugins/plugin_mac80211.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_mac80211.so
installed_files_plugins += lib64/traceevent/plugins/plugin_kvm.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_kvm.so
installed_files_plugins += lib64/traceevent/plugins/plugin_kmem.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_kmem.so
installed_files_plugins += lib64/traceevent/plugins/plugin_hrtimer.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_hrtimer.so
installed_files_plugins += lib64/traceevent/plugins/plugin_jbd2.so installed_files_plugins += $(lib)/traceevent/plugins/plugin_jbd2.so
installed_files_all := $(installed_files_bin) installed_files_all := $(installed_files_bin)
installed_files_all += $(installed_files_plugins) installed_files_all += $(installed_files_plugins)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment