From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932791AbcESRPp (ORCPT ); Thu, 19 May 2016 13:15:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58942 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932727AbcESRPn (ORCPT ); Thu, 19 May 2016 13:15:43 -0400 Date: Thu, 19 May 2016 19:15:37 +0200 From: Jiri Olsa To: He Kuang Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, wangnan0@huawei.com, jpoimboe@redhat.com, ak@linux.intel.com, eranian@google.com, namhyung@kernel.org, adrian.hunter@intel.com, sukadev@linux.vnet.ibm.com, masami.hiramatsu.pt@hitachi.com, tumanova@linux.vnet.ibm.com, kan.liang@intel.com, penberg@kernel.org, dsahern@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/6] perf tools: Promote proper messages for cross-platform unwind Message-ID: <20160519171537.GD18909@krava> References: <1463658462-85131-1-git-send-email-hekuang@huawei.com> <1463658462-85131-3-git-send-email-hekuang@huawei.com> <20160519164609.GC18909@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160519164609.GC18909@krava> User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 19 May 2016 17:15:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 19, 2016 at 06:46:09PM +0200, Jiri Olsa wrote: > On Thu, May 19, 2016 at 11:47:38AM +0000, He Kuang wrote: > > SNIP > > > #endif /* ARCH_PERF_COMMON_H */ > > diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile > > index 1e46277..a86b864 100644 > > --- a/tools/perf/config/Makefile > > +++ b/tools/perf/config/Makefile > > @@ -345,6 +345,12 @@ ifeq ($(ARCH),powerpc) > > endif > > > > ifndef NO_LIBUNWIND > > + ifeq ($(feature-libunwind-x86), 1) > > + LIBUNWIND_LIBS += -lunwind-x86 > > + $(call detected,CONFIG_LIBUNWIND_X86) > > + CFLAGS += -DHAVE_LIBUNWIND_X86_SUPPORT > > + endif > > + > > how does one install that lirary? had to uninstall x86_64.. [jolsa@krava perf]$ rpm -qa | grep libunw libunwind-devel-1.1-10.fc22.i686 libunwind-1.1-10.fc22.i686 libunwind-1.1-10.fc22.x86_64 however it's still off: [jolsa@krava perf]$ make VF=1 BUILD: Doing 'make -j4' parallel build Auto-detecting system features: SNIP ... libunwind: [ OFF ] SNIP ... libunwind-x86: [ OFF ] ... libunwind-x86_64: [ OFF ] ... libunwind-arm: [ OFF ] ... libunwind-aarch64: [ OFF ] ... pthread-attr-setaffinity-np: [ on ] ... stackprotector-all: [ on ] ... timerfd: [ on ] thanks, jirka