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

2016-05-20 Thread Jiri Olsa
On Fri, May 20, 2016 at 10:59:05AM +0800, Hekuang wrote: > hi > > 在 2016/5/20 0:46, Jiri Olsa 写道: > > On Thu, May 19, 2016 at 11:47:38AM +, He Kuang wrote: > > > > SNIP > > > > > #endif /* ARCH_PERF_COMMON_H */ > > > diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile > >

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

2016-05-20 Thread Jiri Olsa
On Fri, May 20, 2016 at 10:59:05AM +0800, Hekuang wrote: > hi > > 在 2016/5/20 0:46, Jiri Olsa 写道: > > On Thu, May 19, 2016 at 11:47:38AM +, He Kuang wrote: > > > > SNIP > > > > > #endif /* ARCH_PERF_COMMON_H */ > > > diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile > >

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

2016-05-19 Thread Hekuang
在 2016/5/20 0:19, Jiri Olsa 写道: On Thu, May 19, 2016 at 11:50:10AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So

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

2016-05-19 Thread Hekuang
在 2016/5/20 0:19, Jiri Olsa 写道: On Thu, May 19, 2016 at 11:50:10AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So

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

2016-05-19 Thread Hekuang
hi 在 2016/5/20 0:46, Jiri Olsa 写道: On Thu, May 19, 2016 at 11:47:38AM +, 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 +++

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

2016-05-19 Thread Hekuang
hi 在 2016/5/20 0:46, Jiri Olsa 写道: On Thu, May 19, 2016 at 11:47:38AM +, 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 +++

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 06:46:09PM +0200, Jiri Olsa wrote: > On Thu, May 19, 2016 at 11:47:38AM +, 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 > > ---

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 06:46:09PM +0200, Jiri Olsa wrote: > On Thu, May 19, 2016 at 11:47:38AM +, 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 > > ---

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 11:47:38AM +, 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 @@

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 11:47:38AM +, 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 @@

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 11:50:10AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: > > Currently, perf script uses host unwind methods to parse perf.data > > callchain info regardless of the target architecture. So we get wrong > > result and

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

2016-05-19 Thread Jiri Olsa
On Thu, May 19, 2016 at 11:50:10AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: > > Currently, perf script uses host unwind methods to parse perf.data > > callchain info regardless of the target architecture. So we get wrong > > result and

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

2016-05-19 Thread Arnaldo Carvalho de Melo
Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: > Currently, perf script uses host unwind methods to parse perf.data > callchain info regardless of the target architecture. So we get wrong > result and no promotion when unwinding callchains of x86(32-bit) on What you mean by

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

2016-05-19 Thread Arnaldo Carvalho de Melo
Em Thu, May 19, 2016 at 11:47:38AM +, He Kuang escreveu: > Currently, perf script uses host unwind methods to parse perf.data > callchain info regardless of the target architecture. So we get wrong > result and no promotion when unwinding callchains of x86(32-bit) on What you mean by

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

2016-05-19 Thread He Kuang
Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when unwinding callchains of x86(32-bit) on x86(64-bit) machine. This patch shows proper error messages when we do remote unwind

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

2016-05-19 Thread He Kuang
Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when unwinding callchains of x86(32-bit) on x86(64-bit) machine. This patch shows proper error messages when we do remote unwind