[PATCH v9 04/14] perf tools: Move unwind__prepare_access from thread_new into thread__insert_map

2016-06-02 Thread He Kuang
For determine the libunwind methods to use, we should get the 32bit/64bit information from maps of a thread. When a thread is newly created, the information is not prepared. This patch moves unwind__prepare_access() into thread__insert_map() so we can get the information we need from maps.

[PATCH v9 04/14] perf tools: Move unwind__prepare_access from thread_new into thread__insert_map

2016-06-02 Thread He Kuang
For determine the libunwind methods to use, we should get the 32bit/64bit information from maps of a thread. When a thread is newly created, the information is not prepared. This patch moves unwind__prepare_access() into thread__insert_map() so we can get the information we need from maps.