Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965734AbbD1MHK (ORCPT ); Tue, 28 Apr 2015 08:07:10 -0400 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:43411 "EHLO e28smtp03.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965558AbbD1MGX (ORCPT ); Tue, 28 Apr 2015 08:06:23 -0400 From: "Naveen N. Rao" To: acme@kernel.org Cc: masami.hiramatsu.pt@hitachi.com, ananth@in.ibm.com, mpe@ellerman.id.au, sukadev@linux.vnet.ibm.com, srikar@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v3 0/7] Fixes for perf probe issues on ppc Date: Tue, 28 Apr 2015 17:35:33 +0530 Message-Id: X-Mailer: git-send-email 2.3.5 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042812-0009-0000-0000-0000051BC248 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2216 Lines: 55 This patchset fixes various issues with perf probe on powerpc across ABIv1 and ABIv2: - in the presence of DWARF debug-info, - in the absence of DWARF, but with the symbol table, and - in the absence of debug-info, but with kallsyms. Arnaldo, I have moved all patches to use __weak functions. Kindly take a look and let me know if this is what you had in mind. Thanks! - Naveen ---- Changes since v2: The primary change is with the use of __weak functions instead of compiler macros. Along with that, I have also addressed all previous review comments (*). Individual patches have the detailed changelog. Please note that I have dropped the first (kernel) patch from the last series since it has been pushed upstream. This series now only includes the rest of the patches. (*) http://thread.gmane.org/gmane.linux.kernel/1851128 Naveen N. Rao (7): perf probe: Improve detection of file/function name in the probe pattern perf probe/ppc: Fix symbol fixup issues due to ELF type perf probe/ppc: Use the right prefix when ignoring SyS symbols on ppc perf probe/ppc: Enable matching against dot symbols automatically perf probe/ppc64le: Fix ppc64 ABIv2 symbol decoding perf probe/ppc64le: Prefer symbol table lookup over DWARF perf probe/ppc64le: Fixup function entry if using kallsyms lookup tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/sym-handling.c | 80 +++++++++++++++++++++++++++++ tools/perf/util/map.c | 5 ++ tools/perf/util/map.h | 3 +- tools/perf/util/probe-event.c | 42 +++++++++++++-- tools/perf/util/probe-event.h | 3 ++ tools/perf/util/symbol-elf.c | 12 ++++- tools/perf/util/symbol.c | 25 +++++---- tools/perf/util/symbol.h | 10 ++++ 9 files changed, 164 insertions(+), 17 deletions(-) create mode 100644 tools/perf/arch/powerpc/util/sym-handling.c -- 2.3.5 -- 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/