RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-05 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi Namhyung, >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >Hi Masami, > >On Thu, Dec 03, 2015 at 07:13:15AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: >> From: Namhyung Kim [mailto:namhy...@kernel.org] >> > >> >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 /

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-05 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi Namhyung, >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >Hi Masami, > >On Thu, Dec 03, 2015 at 07:13:15AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: >> From: Namhyung Kim [mailto:namhy...@kernel.org] >> > >> >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 /

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-04 Thread Namhyung Kim
Hi Masami, On Thu, Dec 03, 2015 at 07:13:15AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > From: Namhyung Kim [mailto:namhy...@kernel.org] > > > >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >> >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >> >

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-04 Thread Namhyung Kim
Hi Masami, On Thu, Dec 03, 2015 at 07:13:15AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > From: Namhyung Kim [mailto:namhy...@kernel.org] > > > >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >> >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >> >

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Namhyung Kim [mailto:namhy...@kernel.org] > >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: >> >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim >> > >> >Backtrace is a crucial info for debugging. And upcoming refcnt >> >tracking facility

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Namhyung Kim
On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > > > >Backtrace is a crucial info for debugging. And upcoming refcnt > >tracking facility also wants to use it. > > Note that the refcnt backtrace

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >Backtrace is a crucial info for debugging. And upcoming refcnt >tracking facility also wants to use it. Note that the refcnt backtrace symbol resolution will work at exit. This means that it can not depend on the

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Jiri Olsa
On Thu, Dec 03, 2015 at 12:33:40AM +0900, Namhyung Kim wrote: > Backtrace is a crucial info for debugging. And upcoming refcnt > tracking facility also wants to use it. > > So instead of relying on glibc's backtrace_symbols[_fd] which misses > some (static) functions , use our own symbol

[PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Namhyung Kim
Backtrace is a crucial info for debugging. And upcoming refcnt tracking facility also wants to use it. So instead of relying on glibc's backtrace_symbols[_fd] which misses some (static) functions , use our own symbol searching mechanism. To do that, add perf_thread global variable to keep its

[PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Namhyung Kim
Backtrace is a crucial info for debugging. And upcoming refcnt tracking facility also wants to use it. So instead of relying on glibc's backtrace_symbols[_fd] which misses some (static) functions , use our own symbol searching mechanism. To do that, add perf_thread global variable to keep its

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Jiri Olsa
On Thu, Dec 03, 2015 at 12:33:40AM +0900, Namhyung Kim wrote: > Backtrace is a crucial info for debugging. And upcoming refcnt > tracking facility also wants to use it. > > So instead of relying on glibc's backtrace_symbols[_fd] which misses > some (static) functions , use our own symbol

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Namhyung Kim [mailto:namhy...@kernel.org] > >On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: >> >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim >> > >> >Backtrace is a crucial info for debugging. And upcoming refcnt >> >tracking facility

RE: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >Backtrace is a crucial info for debugging. And upcoming refcnt >tracking facility also wants to use it. Note that the refcnt backtrace symbol resolution will work at exit. This means that it can not depend on the

Re: [PATCH v3] perf tools: Introduce perf_thread for backtrace

2015-12-02 Thread Namhyung Kim
On Thu, Dec 03, 2015 at 12:15:12AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > > > >Backtrace is a crucial info for debugging. And upcoming refcnt > >tracking facility also wants to use it. > > Note that the refcnt backtrace