[tip:perf/urgent] perf tests: Run dwarf unwind test on arm32
From: tip-bot for Kim Phillips
Date: Mon Apr 16 2018 - 02:42:37 EST
Commit-ID: af72cfb80af5e4cafd8e0b58ac54f222c913aa1b
Gitweb: https://git.kernel.org/tip/af72cfb80af5e4cafd8e0b58ac54f222c913aa1b
Author: Kim Phillips <kim.phillips@xxxxxxx>
AuthorDate: Tue, 10 Apr 2018 19:16:24 -0500
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Thu, 12 Apr 2018 09:30:37 -0300
perf tests: Run dwarf unwind test on arm32
Enable the unwind test on arm32:
$ perf test unwind
58: DWARF unwind : Ok
Signed-off-by: Kim Phillips <kim.phillips@xxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Brian Robbins <brianrob@xxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/20180410191624.a3a468670dd4548c66d3d094@xxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/arch/{arm64 => arm}/include/arch-tests.h | 0
tools/perf/arch/arm/tests/Build | 2 ++
tools/perf/arch/{arm64 => arm}/tests/arch-tests.c | 0
3 files changed, 2 insertions(+)
diff --git a/tools/perf/arch/arm64/include/arch-tests.h b/tools/perf/arch/arm/include/arch-tests.h
similarity index 100%
copy from tools/perf/arch/arm64/include/arch-tests.h
copy to tools/perf/arch/arm/include/arch-tests.h
diff --git a/tools/perf/arch/arm/tests/Build b/tools/perf/arch/arm/tests/Build
index b30eff9bcc83..883c57ff0c08 100644
--- a/tools/perf/arch/arm/tests/Build
+++ b/tools/perf/arch/arm/tests/Build
@@ -1,2 +1,4 @@
libperf-y += regs_load.o
libperf-y += dwarf-unwind.o
+
+libperf-y += arch-tests.o
diff --git a/tools/perf/arch/arm64/tests/arch-tests.c b/tools/perf/arch/arm/tests/arch-tests.c
similarity index 100%
copy from tools/perf/arch/arm64/tests/arch-tests.c
copy to tools/perf/arch/arm/tests/arch-tests.c