Re: perf: unwind: target platform=x86 not supported was: Re: [PATCH 1/2] perf evsel: Fix probing of precise_ip level for default cycles event

From: Arnaldo Carvalho de Melo
Date: Wed Jun 14 2017 - 10:47:36 EST


Em Wed, Jun 14, 2017 at 04:19:51PM +0200, Jiri Olsa escreveu:
> On Wed, Jun 14, 2017 at 10:52:42AM -0300, Arnaldo Carvalho de Melo wrote:
>
> SNIP
>
> >
> > And what defines it is...
> >
> > tools/perf/util/libunwind/x86_32.c:#define REMOTE_UNWIND_LIBUNWIND
> >
> > (and a arm64 file, but lets leave that aside, seems unrelated to this
> > case)
> >
> > That will get built by...
> >
> > tools/perf/util/Build:libperf-$(CONFIG_LIBUNWIND_X86) += libunwind/x86_32.o
> >
> > [acme@jouet linux]$ grep CONFIG_LIBUNWIND_X86 /tmp/build/perf/.config-detected
> > [acme@jouet linux]$
> >
> > Ingo, are you doing something unusual as building a 32-bit perf to read a
> > 62-bit perf.data file?
> >
> > Jiri, can you help here? Do you need more info?
>
> hum, looks like local unwind support wasn't compiled in for some reason
>
> Ingo, what's the arch of host and perf data?

amd64/x86_64, ubuntu, libunwind version 8, perhaps this version has a
problem? See the other message I replied to Ingo, added you to the CC.

- Arnaldo