[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-7bxhmeh4bjabqsmxu4gl6p0b@git.kernel.org>
Date: Wed, 18 Feb 2015 10:36:47 -0800
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: fweisbec@...il.com, namhyung@...nel.org, will.deacon@....com,
acme@...hat.com, cjashfor@...ux.vnet.ibm.com, bp@...en8.de,
sukadev@...ux.vnet.ibm.com, alexis.berlemont@...il.com,
peterz@...radead.org, linux-kernel@...r.kernel.org, hpa@...or.com,
jolsa@...nel.org, eranian@...gle.com, mingo@...nel.org,
tglx@...utronix.de, paulus@...ba.org, dsahern@...il.com
Subject: [tip:perf/core] perf build: Add arch arm objects building
Commit-ID: f6ff0e6d7bf41e8464b4a50ba48e0e1502ef8438
Gitweb: http://git.kernel.org/tip/f6ff0e6d7bf41e8464b4a50ba48e0e1502ef8438
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Tue, 30 Dec 2014 14:07:04 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 12 Feb 2015 13:13:01 -0300
perf build: Add arch arm objects building
Move the arm arch objects building under build framework to be included
in the libperf build object.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Tested-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Tested-by: Will Deacon <will.deacon@....com>
Cc: Alexis Berlemont <alexis.berlemont@...il.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/n/tip-7bxhmeh4bjabqsmxu4gl6p0b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/arch/arm/Build | 2 ++
tools/perf/arch/arm/Makefile | 11 -----------
tools/perf/arch/{x86 => arm}/tests/Build | 0
tools/perf/arch/{x86 => arm}/util/Build | 4 ----
4 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/tools/perf/arch/arm/Build b/tools/perf/arch/arm/Build
index e69de29..41bf61d 100644
--- a/tools/perf/arch/arm/Build
+++ b/tools/perf/arch/arm/Build
@@ -0,0 +1,2 @@
+libperf-y += util/
+libperf-$(CONFIG_DWARF_UNWIND) += tests/
diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
index 09d6215..7fbca17 100644
--- a/tools/perf/arch/arm/Makefile
+++ b/tools/perf/arch/arm/Makefile
@@ -1,14 +1,3 @@
ifndef NO_DWARF
PERF_HAVE_DWARF_REGS := 1
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
-endif
-ifndef NO_LIBUNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libunwind.o
-endif
-ifndef NO_LIBDW_DWARF_UNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libdw.o
-endif
-ifndef NO_DWARF_UNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/regs_load.o
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/dwarf-unwind.o
endif
diff --git a/tools/perf/arch/x86/tests/Build b/tools/perf/arch/arm/tests/Build
similarity index 100%
copy from tools/perf/arch/x86/tests/Build
copy to tools/perf/arch/arm/tests/Build
diff --git a/tools/perf/arch/x86/util/Build b/tools/perf/arch/arm/util/Build
similarity index 70%
copy from tools/perf/arch/x86/util/Build
copy to tools/perf/arch/arm/util/Build
index cfbccc4..d22e3d0 100644
--- a/tools/perf/arch/x86/util/Build
+++ b/tools/perf/arch/arm/util/Build
@@ -1,7 +1,3 @@
-libperf-y += header.o
-libperf-y += tsc.o
-libperf-y += kvm-stat.o
-
libperf-$(CONFIG_DWARF) += dwarf-regs.o
libperf-$(CONFIG_LIBUNWIND) += unwind-libunwind.o
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists