perf tools: Disable libdw unwind for all but x86 arch
PATCH 1/1 perf tools: Disable libdw unwind for all but x86 arch
So far there's only x86 libdw unwind support merged in perf. Disable it on all other architectures in case libdw unwind support is detected in system.
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Josh Boyer <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Jiri Olsa <[email protected]>
--- tools/perf/config/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
tools/perf/config/Makefile +4 -0
@@ -34,6 +34,10 @@ ifeq ($(ARCH),arm) LIBUNWIND_LIBS = -lunwind -lunwind-arm endif +ifneq ($(ARCH),x86) + NO_LIBDW_DWARF_UNWIND := 1 +endif + ifeq ($(LIBUNWIND_LIBS),) NO_LIBUNWIND := 1 else
Signature · 1 line
1.8.3.1
tip-bot for Jiri Olsa
merge botperf tools: Disable libdw unwind for all but x86 arch
Commit-ID: 4dc549e58b6ebf63554cd466d5ceb0e9c70ab859 Gitweb: http://git.kernel.org/tip/4dc549e58b6ebf63554cd466d5ceb0e9c70ab859 Author: Jiri Olsa <[email protected]> AuthorDate: Sun, 20 Apr 2014 10:50:00 +0200 Committer: Jiri Olsa <[email protected]> CommitDate: Wed, 23 Apr 2014 13:19:18 +0200
perf tools: Disable libdw unwind for all but x86 arch
So far there's only x86 libdw unwind support merged in perf. Disable it on all other architectures in case libdw unwind support is detected in system.
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Josh Boyer <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Jiri Olsa <[email protected]>
--- tools/perf/config/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+)
tools/perf/config/Makefile +8 -0
@@ -34,6 +34,14 @@ ifeq ($(ARCH),arm) LIBUNWIND_LIBS = -lunwind -lunwind-arm endif +# So far there's only x86 libdw unwind support merged in perf. +# Disable it on all other architectures in case libdw unwind +# support is detected in system. Add supported architectures +# to the check. +ifneq ($(ARCH),x86) + NO_LIBDW_DWARF_UNWIND := 1 +endif + ifeq ($(LIBUNWIND_LIBS),) NO_LIBUNWIND := 1 else