linux-mips
[Top] [All Lists]

[PATCH 0/2] perf tools: Add MIPS userspace DWARF callchains.

To: linux-mips@linux-mips.org, ralf@linux-mips.org, Jiri Olsa <jolsa@redhat.com>
Subject: [PATCH 0/2] perf tools: Add MIPS userspace DWARF callchains.
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 17 May 2013 12:00:36 -0700
Cc: linux-kernel@vger.kernel.org, Peter Zijlstra <a.p.zijlstra@chello.nl>, Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@ghostprotocols.net>, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=53vBIkw1nwq5W6F2hOvQiTNCa+3hCpsCg4vg9PibiPo=; b=MuYke5n6RkRWoZMdKd6cBu8+1860V/lUvlD5O552kpA3zp+PiRceY/DkWEGH8Zaw49 NDwE/qYBzQr2UY4/Iead33AhsIVbvs0nCIdyom73YWaX0oc1BUmtlpx0WUj2Puh7gtNL B0Mc5w0uy8+X2k8ilPBast5YtpnL4gO570WFQ9c+hZyv21Qm5IuspHexNioiWdeCMrCQ 7Vvpd0bZ5CtvtndDN4KT4KuCe3QcSDdjSnjdNFelClspNBzb86mDR5WYBKy5IiVyxgDn avcRk9l2rYTPmVCvtmZpvItLGPymJ6HHEI9yAnIrZyrCqm3LcCGQnKRwNlZpZvDwv043 xDJA==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

These patches to the perf tool depend on the kernel patch here:

http://www.linux-mips.org/archives/linux-mips/2013-05/msg00124.html

With these two applied, I get the same nice call graphs on MIPS that
are obtained on my x86_64 workstation.

The patches are against Jiri Olsa's
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/core
branch.  I hope that is the proper thing to base these things off of.

David Daney (2):
  perf tools: Add support for MIPS userspace DWARF callchains.
  perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile

 tools/perf/Makefile                      |  3 ++
 tools/perf/arch/mips/Makefile            |  7 +++
 tools/perf/arch/mips/include/perf_regs.h | 84 ++++++++++++++++++++++++++++++++
 tools/perf/arch/mips/util/dwarf-regs.c   | 37 ++++++++++++++
 tools/perf/arch/mips/util/unwind.c       | 20 ++++++++
 tools/perf/config/Makefile               | 12 ++++-
 6 files changed, 161 insertions(+), 2 deletions(-)
 create mode 100644 tools/perf/arch/mips/Makefile
 create mode 100644 tools/perf/arch/mips/include/perf_regs.h
 create mode 100644 tools/perf/arch/mips/util/dwarf-regs.c
 create mode 100644 tools/perf/arch/mips/util/unwind.c

-- 
1.7.11.7


<Prev in Thread] Current Thread [Next in Thread>