From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcFVG6T (ORCPT ); Wed, 22 Jun 2016 02:58:19 -0400 Received: from szxga04-in.huawei.com ([58.251.152.52]:34802 "EHLO szxga04-in.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751775AbcFVG6F (ORCPT ); Wed, 22 Jun 2016 02:58:05 -0400 From: He Kuang To: , , , , , , , , , , , , , , , , , CC: Subject: [PATCH 0/5] Fixes on perf unwind Date: Wed, 22 Jun 2016 06:57:01 +0000 Message-ID: <1466578626-92406-1-git-send-email-hekuang@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.107.193.250] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.576A36D4.0064,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 056d3a16334b07d1a93a30ca12324db8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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