Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403872

Re: [PATCH v4 2/6] perf tools: Promote proper messages for cross-platform unwind

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/6] perf tools: Promote proper messages for cross-platform unwind
Date 2016-05-19 19:20 +0200
Message-ID <rAzM5-2EV-7@gated-at.bofh.it> (permalink)
References <rAuCJ-7Be-7@gated-at.bofh.it> <rAuCJ-7Be-5@gated-at.bofh.it> <rAzj4-2e6-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 2/6] perf tools: Promote proper messages for cross-platform unwind He Kuang <hekuang@huawei.com> - 2016-05-19 13:50 +0200
  Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-05-19 17:00 +0200
    Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Jiri Olsa <jolsa@redhat.com> - 2016-05-19 18:20 +0200
      Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Hekuang <hekuang@huawei.com> - 2016-05-20 05:10 +0200
  Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Jiri Olsa <jolsa@redhat.com> - 2016-05-19 18:50 +0200
    Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Jiri Olsa <jolsa@redhat.com> - 2016-05-19 19:20 +0200
    Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Hekuang <hekuang@huawei.com> - 2016-05-20 05:10 +0200
      Re: [PATCH v4 2/6] perf tools: Promote proper messages for  cross-platform unwind Jiri Olsa <jolsa@redhat.com> - 2016-05-20 12:00 +0200

csiph-web