hi, Patch 1-3 fix wrongly used PERF_REG_SP/IP by redefining those macros in the wrapper file according to the target platform, for example in "util/libunwind/x86_32.c". The first 3 patches have been acked-by "Jiri Olsa" and not touched.
Patch 4 catches an error on python build_ext build. Patch 5 fixes a NULL pointer deference which can cause segfault when the desired dso is not found. Thank you. He Kuang (5): perf unwind: Change macro names of perf register perf unwind: Fix wrongly used regs for x86_32 unwind perf unwind: Fix wrongly used regs for aarch64 unwind perf tools: Let python use correct gcc for build_ext perf tools: Fix NULL pointer deference when vdso not found tools/perf/Makefile.perf | 3 ++- tools/perf/util/libunwind/arm64.c | 5 +++++ tools/perf/util/libunwind/x86_32.c | 6 ++++++ tools/perf/util/unwind-libunwind-local.c | 6 ++++-- tools/perf/util/unwind.h | 9 +++++++++ tools/perf/util/vdso.c | 2 +- 6 files changed, 27 insertions(+), 4 deletions(-) -- 1.8.5.2