Re: [PATCH v8 08/14] perf tools: Extract common API out of unwind-libunwind-local.c

2016-06-02 Thread Jiri Olsa
On Thu, Jun 02, 2016 at 09:55:20AM +, He Kuang wrote: SNIP > +void unwind__finish_access(struct thread *thread) > +{ > + if (thread->unwind_libunwind_ops) > + thread->unwind_libunwind_ops->finish_access(thread); > +} > + > +int unwind__get_entries(unwind_entry_cb_t cb, void *a

[PATCH v8 08/14] perf tools: Extract common API out of unwind-libunwind-local.c

2016-06-02 Thread He Kuang
This patch extracts common unwind-libunwind APIs out of unwind-libunwind-local.c, this part will be used by both local and remote libunwind. Signed-off-by: He Kuang --- tools/perf/util/Build| 1 + tools/perf/util/unwind-libunwind-local.c | 38 - t