• H
    perf unwind: Decouple thread->address_space on libunwind · c1d1d0d9
    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 decouple the dependence on libunwind.
    Signed-off-by: NHe Kuang <hekuang@huawei.com>
    Acked-by: NJiri Olsa <jolsa@kernel.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
    Cc: Josh Poimboeuf <jpoimboe@redhat.com>
    Cc: Kan Liang <kan.liang@intel.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Pekka Enberg <penberg@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
    Cc: Wang Nan <wangnan0@huawei.com>
    Link: http://lkml.kernel.org/r/1464924803-22214-3-git-send-email-hekuang@huawei.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    c1d1d0d9
thread.h 3.0 KB