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

2015-12-02 Thread Jiri Olsa
On Wed, Dec 02, 2015 at 02:42:21PM +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 searchin

[PATCH v2] perf tools: Introduce perf_thread for backtrace

2015-12-01 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 ma