Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Jiri Olsa
On Wed, Jun 01, 2016 at 09:47:50AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 01, 2016 at 10:40:15AM +0200, Jiri Olsa escreveu: > > On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: > > > SNIP > > > + ifeq ($(feature-libunwind-x86), 1) > > > +$(call detected,CONFIG_LIBUNWIN

Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 01, 2016 at 10:40:15AM +0200, Jiri Olsa escreveu: > On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: > SNIP > > + ifeq ($(feature-libunwind-x86), 1) > > +$(call detected,CONFIG_LIBUNWIND_X86) > > +CFLAGS += -DHAVE_LIBUNWIND_X86_SUPPORT > > +LDFLAGS += -lunwind-x8

Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Hekuang
在 2016/6/1 16:40, Jiri Olsa 写道: On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: SNIP diff --git a/tools/perf/util/unwind-libunwind.c b/tools/perf/util/unwind-libunwind.c index e183390..5774317 100644 --- a/tools/perf/util/unwind-libunwind.c +++ b/tools/perf/util/unwind-libunwind.c

Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Jiri Olsa
On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: SNIP > diff --git a/tools/perf/util/libunwind/x86_32.c > b/tools/perf/util/libunwind/x86_32.c > new file mode 100644 > index 000..46b4111 > --- /dev/null > +++ b/tools/perf/util/libunwind/x86_32.c > @@ -0,0 +1,18 @@ > +#define REMOTE_

Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Jiri Olsa
On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: SNIP > + > + ifeq ($(feature-libunwind-x86), 1) > +$(call detected,CONFIG_LIBUNWIND_X86) > +CFLAGS += -DHAVE_LIBUNWIND_X86_SUPPORT > +LDFLAGS += -lunwind-x86 > +have_libunwind = 1 > + endif > + >ifneq ($(feature-libun

Re: [PATCH v7 13/14] perf callchain: Support x86 target platform

2016-06-01 Thread Jiri Olsa
On Tue, May 31, 2016 at 11:19:11AM +, He Kuang wrote: SNIP > diff --git a/tools/perf/util/unwind-libunwind.c > b/tools/perf/util/unwind-libunwind.c > index e183390..5774317 100644 > --- a/tools/perf/util/unwind-libunwind.c > +++ b/tools/perf/util/unwind-libunwind.c > @@ -5,6 +5,7 @@ > #incl

[PATCH v7 13/14] perf callchain: Support x86 target platform

2016-05-31 Thread He Kuang
Support x86(32-bit) cross platform callchain unwind. Signed-off-by: He Kuang --- tools/perf/arch/x86/util/unwind-libunwind.c | 6 -- tools/perf/config/Makefile | 8 tools/perf/util/Build | 1 + tools/perf/util/libunwind/x86_32.c | 1