Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946Ab3ILMHZ (ORCPT ); Thu, 12 Sep 2013 08:07:25 -0400 Received: from mail-vb0-f52.google.com ([209.85.212.52]:49892 "EHLO mail-vb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752312Ab3ILMHY (ORCPT ); Thu, 12 Sep 2013 08:07:24 -0400 MIME-Version: 1.0 In-Reply-To: <1378720815-23964-1-git-send-email-jean.pihet@linaro.org> References: <1378720815-23964-1-git-send-email-jean.pihet@linaro.org> Date: Thu, 12 Sep 2013 14:07:23 +0200 Message-ID: Subject: Re: [PATCH 0/3] perf: parse the dwarf backtrace info from .debug_frame section From: Jean Pihet To: Will Deacon , Jiri Olsa , "linux-kernel@vger.kernel.org" , "linaro-kernel@lists.linaro.org" , "linux-arm-kernel@lists.infradead.org" , ".Peter Zijlstra" , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2370 Lines: 60 Hi, -- Adding more maintainers in the To: list -- Ping about the patch set, is this one acceptable for mainline? Jean On 9 September 2013 12:00, Jean Pihet wrote: > On ARM the debug info is not present in the .eh_frame sections but > in .debug_frame instead, in dwarf format. > > This patch set uses libunwind to load and parse the dwarf debug info from > the .debug_frame section if no .eh_frame_hdr section is found; also it > sets the hooks in the perf_regs and libunwind code for ARMv7. > > Dependencies: > . if present, libunwind >= 1.1 is needed to prevent a segfault when > parsing the dwarf info, > . libunwind needs to be configured with --enable-debug-frame > to prevent a linkage error. Note: --enable-debug-frame is automatically > selected on ARM). > > The generated perf has been tested on ARMv7/OMAP4 and x86_64, using the > following commands: > perf record -g [dwarf] -- > perf report --sort symbol --call-graph --stdio > > > Jean Pihet (1): > perf: parse the .debug_frame section in case .eh_frame is not present > > Will Deacon (2): > ARM: perf: add support for perf registers API > ARM: perf: wire up perf_regs and unwind support for ARM > > arch/arm/Kconfig | 2 + > arch/arm/include/uapi/asm/Kbuild | 1 + > arch/arm/include/uapi/asm/perf_regs.h | 23 +++++++++++ > arch/arm/kernel/Makefile | 1 + > arch/arm/kernel/perf_regs.c | 30 ++++++++++++++ > tools/perf/arch/arm/Makefile | 3 ++ > tools/perf/arch/arm/include/perf_regs.h | 54 +++++++++++++++++++++++++ > tools/perf/arch/arm/util/unwind.c | 48 ++++++++++++++++++++++ > tools/perf/config/Makefile | 9 +++-- > tools/perf/util/unwind.c | 71 +++++++++++++++++++++++++-------- > 10 files changed, 223 insertions(+), 19 deletions(-) > create mode 100644 arch/arm/include/uapi/asm/perf_regs.h > create mode 100644 arch/arm/kernel/perf_regs.c > create mode 100644 tools/perf/arch/arm/include/perf_regs.h > create mode 100644 tools/perf/arch/arm/util/unwind.c > > -- > 1.7.11.7 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/