[PATCH v6 02/11] perf tools: Decouple thread->address_space on libunwind

2016-05-28 Thread He Kuang
Currently, the type of thread->addr_space is unw_addr_space_t, which is a pointer defined in libunwind headers. For local libunwind, we can simple include "libunwind.h", but for remote libunwind, the header file is depends on the target libunwind platform. This patch uses 'void *' instead to

[PATCH v6 02/11] perf tools: Decouple thread->address_space on libunwind

2016-05-28 Thread He Kuang
Currently, the type of thread->addr_space is unw_addr_space_t, which is a pointer defined in libunwind headers. For local libunwind, we can simple include "libunwind.h", but for remote libunwind, the header file is depends on the target libunwind platform. This patch uses 'void *' instead to