Commit-ID:  d45a3e00687bb52a20d9256d3d1068eea271013f
Gitweb:     http://git.kernel.org/tip/d45a3e00687bb52a20d9256d3d1068eea271013f
Author:     Jiri Olsa <jo...@redhat.com>
AuthorDate: Wed, 22 Aug 2012 10:38:12 +0200
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Wed, 22 Aug 2012 13:32:13 -0300

perf tools: Fix 'No libunwind found' make warning message

Changing error message when libunwind support is not found to inform
properly to install libunwind-dev[el] package.

Reported-by: Ingo Molnar <mi...@elte.hu>
Signed-off-by: Jiri Olsa <jo...@redhat.com>
Cc: Andi Kleen <a...@firstfloor.org>
Cc: Ben Hutchings <b...@decadent.org.uk>
Cc: Borislav Petkov <borislav.pet...@amd.com>
Cc: Corey Ashford <cjash...@linux.vnet.ibm.com>
Cc: David Ahern <dsah...@gmail.com>
Cc: Feng Tang <feng.t...@intel.com>
Cc: Frederic Weisbecker <fweis...@gmail.com>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Mike Galbraith <efa...@gmx.de>
Cc: Namhyung Kim <namhyung....@lge.com>
Cc: Namhyung Kim <namhy...@gmail.com>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Pekka Enberg <penb...@kernel.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Robert Richter <robert.rich...@amd.com>
Cc: Sedat Dilek <sedat.di...@gmail.com>
Cc: Stephane Eranian <eran...@google.com>
Cc: Steven Rostedt <rost...@goodmis.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Ulrich Drepper <drep...@gmail.com>
Link: http://lkml.kernel.org/r/20120822083812.gc1...@krava.brq.redhat.com
[ committer note: s/disable/disabling/g rewording suggested by Steven Rostedt ]
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 6bd888d..722ddee 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -493,7 +493,7 @@ endif
 
 FLAGS_UNWIND=$(LIBUNWIND_CFLAGS) $(ALL_CFLAGS) $(LIBUNWIND_LDFLAGS) 
$(ALL_LDFLAGS) $(EXTLIBS) $(LIBUNWIND_LIBS)
 ifneq ($(call try-cc,$(SOURCE_LIBUNWIND),$(FLAGS_UNWIND)),y)
-       msg := $(warning No libunwind found. Please install libunwind >= 0.99);
+       msg := $(warning No libunwind found, disabling post unwind support. 
Please install libunwind-dev[el] >= 0.99);
        NO_LIBUNWIND := 1
 endif # Libunwind support
 endif # NO_LIBUNWIND
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to