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


Groups > linux.kernel > #1669964

Re: [PATCH] perf unwind: Limit warnings when asked for not supported unwind

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf unwind: Limit warnings when asked for not supported unwind
Date 2017-06-19 23:30 +0200
Message-ID <tUcpb-83n-1@gated-at.bofh.it> (permalink)
References <tSYoi-8jA-11@gated-at.bofh.it> <tT2id-2u9-9@gated-at.bofh.it> <tTRkJ-2Kw-13@gated-at.bofh.it> <tUcpb-83n-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jun 18, 2017 at 08:01:38PM -0300, Arnaldo Carvalho de Melo wrote:
> Thanks!
> 
> On Jun 18, 2017 7:53 PM, "Jiri Olsa" <jolsa@redhat.com> wrote:
> 
> > On Fri, Jun 16, 2017 at 01:25:04PM -0300, Arnaldo Carvalho de Melo wrote:
> > > Em Fri, Jun 16, 2017 at 02:12:53PM +0200, Jiri Olsa escreveu:
> > > > Ingo reported following warning flooding the report out:
> > > >
> > > >   unwind: target platform=x86 is not supported
> > > >
> > > > We trigger this warning when the dwarf unwinder is asked to
> > > > process architecture which wasn't compiled in, like when you
> > > > get 32bit application samples on your 64bit server and you
> > > > don't have the 32bit remote unwind support compiled in.
> > > >
> > > > This patch limits the warning to single message for arch,
> > > > and adds bits info. Above message is changed to:
> > > >
> > > >   unwind: target platform=x86 32bit is not supported
> > >
> > > Can we have a more informative message telling the user what is
> > > necessary to have this feature supported?
> > >
> > > The way you phrased it looks like it is not supported at all, while what
> > > I read in the discussion is that one needs to have specific versions of
> > > support libraries installed to have this working, right?
> >
> > exactly, I'll dig out from changelogs needed libunwind version
> > and change the changelog in v2

He Kuang,
could you please give me details on how to enable x86 remote unwind
on x86_64 server? can't find that in the libunwind's ./configure script

the feature tool detection example needs libunwind-x86.h header
and -lunwind-x86..  which is provided by libunwind-devel.i686 pkg,
but it conflicts with x86_64 libunwind-devel on fedora:

Error: Transaction check error:
  file /usr/include/libunwind.h from install of libunwind-devel-1.2-1.fc25.i686 conflicts with file from package libunwind-devel-1.2-1.fc25.x86_64

jirka

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


Thread

[PATCH] perf unwind: Limit warnings when asked for not supported unwind Jiri Olsa <jolsa@kernel.org> - 2017-06-16 14:20 +0200
  Re: [PATCH] perf unwind: Limit warnings when asked for not supported  unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-16 18:30 +0200
    Re: [PATCH] perf unwind: Limit warnings when asked for not supported  unwind Jiri Olsa <jolsa@redhat.com> - 2017-06-19 01:00 +0200
      Re: [PATCH] perf unwind: Limit warnings when asked for not supported  unwind Jiri Olsa <jolsa@redhat.com> - 2017-06-19 23:30 +0200

csiph-web