All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:perf/core] perf tools: Limit unwind support to x86 archs
@ 2013-02-15 16:38 tip-bot for Jiri Olsa
  0 siblings, 0 replies; only message in thread
From: tip-bot for Jiri Olsa @ 2013-02-15 16:38 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: acme, linux-kernel, dirk.behme, hpa, mingo, tglx, jolsa

Commit-ID:  02320931ce000836aa231ac1311769e303122099
Gitweb:     http://git.kernel.org/tip/02320931ce000836aa231ac1311769e303122099
Author:     Jiri Olsa <jolsa@redhat.com>
AuthorDate: Thu, 14 Feb 2013 15:59:33 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 14 Feb 2013 15:59:33 -0300

perf tools: Limit unwind support to x86 archs

There's DWARF unwind support only for x86 archs, so limit the unwind.o
object to them only.

Without this building for other archs (e.g. cross compiling for ARM) is
broken.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Link: http://lkml.kernel.org/n/tip-viqtvd6hppqgt68zz4wlqm20@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 1c8df6f..b90528d 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -581,6 +581,11 @@ else
 endif # SOURCE_LIBELF
 endif # NO_LIBELF
 
+# There's only x86 (both 32 and 64) support for CFI unwind so far
+ifneq ($(ARCH),x86)
+	NO_LIBUNWIND := 1
+endif
+
 ifndef NO_LIBUNWIND
 # for linking with debug library, run like:
 # make DEBUG=1 LIBUNWIND_DIR=/opt/libunwind/

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-15 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 16:38 [tip:perf/core] perf tools: Limit unwind support to x86 archs tip-bot for Jiri Olsa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.