lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 12 May 2016 03:24:03 -0700
From:	tip-bot for He Kuang <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	namhyung@...nel.org, acme@...hat.com, jolsa@...nel.org,
	eranian@...gle.com, penberg@...nel.org,
	tumanova@...ux.vnet.ibm.com, alexander.shishkin@...ux.intel.com,
	hpa@...or.com, adrian.hunter@...el.com, mingo@...nel.org,
	kan.liang@...el.com, hekuang@...wei.com, ak@...ux.intel.com,
	masami.hiramatsu.pt@...achi.com, linux-kernel@...r.kernel.org,
	peterz@...radead.org, wangnan0@...wei.com, dsahern@...il.com,
	jpoimboe@...hat.com, sukadev@...ux.vnet.ibm.com, tglx@...utronix.de
Subject: [tip:perf/core] perf build: Add build-test for debug-frame on
 arm/arm64

Commit-ID:  f9be7eefcce9de7323c922bea6b45183eb9ef5f0
Gitweb:     http://git.kernel.org/tip/f9be7eefcce9de7323c922bea6b45183eb9ef5f0
Author:     He Kuang <hekuang@...wei.com>
AuthorDate: Tue, 10 May 2016 07:40:32 +0000
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Wed, 11 May 2016 12:24:58 -0300

perf build: Add build-test for debug-frame on arm/arm64

Debug-frame for remote platforms is not related to the host platform, so
we should test each platform separately.

Signed-off-by: He Kuang <hekuang@...wei.com>
Acked-by: Jiri Olsa <jolsa@...nel.org>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Andi Kleen <ak@...ux.intel.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Ekaterina Tumanova <tumanova@...ux.vnet.ibm.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Kan Liang <kan.liang@...el.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Pekka Enberg <penberg@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Cc: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/r/1462866037-30382-5-git-send-email-hekuang@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 tools/build/Makefile.feature                                       | 4 +++-
 tools/build/feature/Makefile                                       | 7 +++++++
 ...ibunwind-debug-frame.c => test-libunwind-debug-frame-aarch64.c} | 2 +-
 ...st-libunwind-debug-frame.c => test-libunwind-debug-frame-arm.c} | 2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 7e36e91..57c8f98 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -73,7 +73,9 @@ FEATURE_TESTS_EXTRA :=			\
 	libbabeltrace			\
 	liberty				\
 	liberty-z			\
-	libunwind-debug-frame
+	libunwind-debug-frame		\
+	libunwind-debug-frame-arm	\
+	libunwind-debug-frame-aarch64
 
 FEATURE_TESTS ?= $(FEATURE_TESTS_BASIC)
 
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
index f4fe3bc..3d88f09 100644
--- a/tools/build/feature/Makefile
+++ b/tools/build/feature/Makefile
@@ -31,6 +31,8 @@ FILES=					\
 	test-libunwind-x86_64.bin	\
 	test-libunwind-arm.bin		\
 	test-libunwind-aarch64.bin	\
+	test-libunwind-debug-frame-arm.bin	\
+	test-libunwind-debug-frame-aarch64.bin	\
 	test-pthread-attr-setaffinity-np.bin	\
 	test-stackprotector-all.bin	\
 	test-timerfd.bin		\
@@ -119,6 +121,11 @@ $(OUTPUT)test-libunwind-arm.bin:
 $(OUTPUT)test-libunwind-aarch64.bin:
 	$(BUILD) -lelf -lunwind-aarch64
 
+$(OUTPUT)test-libunwind-debug-frame-arm.bin:
+	$(BUILD) -lelf -lunwind-arm
+
+$(OUTPUT)test-libunwind-debug-frame-aarch64.bin:
+	$(BUILD) -lelf -lunwind-aarch64
 
 $(OUTPUT)test-libaudit.bin:
 	$(BUILD) -laudit
diff --git a/tools/build/feature/test-libunwind-debug-frame.c b/tools/build/feature/test-libunwind-debug-frame-aarch64.c
similarity index 91%
copy from tools/build/feature/test-libunwind-debug-frame.c
copy to tools/build/feature/test-libunwind-debug-frame-aarch64.c
index 0ef8087..2284467 100644
--- a/tools/build/feature/test-libunwind-debug-frame.c
+++ b/tools/build/feature/test-libunwind-debug-frame-aarch64.c
@@ -1,4 +1,4 @@
-#include <libunwind.h>
+#include <libunwind-aarch64.h>
 #include <stdlib.h>
 
 extern int
diff --git a/tools/build/feature/test-libunwind-debug-frame.c b/tools/build/feature/test-libunwind-debug-frame-arm.c
similarity index 92%
copy from tools/build/feature/test-libunwind-debug-frame.c
copy to tools/build/feature/test-libunwind-debug-frame-arm.c
index 0ef8087..f988596 100644
--- a/tools/build/feature/test-libunwind-debug-frame.c
+++ b/tools/build/feature/test-libunwind-debug-frame-arm.c
@@ -1,4 +1,4 @@
-#include <libunwind.h>
+#include <libunwind-arm.h>
 #include <stdlib.h>
 
 extern int

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ