linux-mips
[Top] [All Lists]

[PATCH 0/3] LTTng patches for MIPS CPUs.

To: ltt-dev@lists.casi.polymtl.ca
Subject: [PATCH 0/3] LTTng patches for MIPS CPUs.
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 19 Apr 2010 17:19:48 -0700
Cc: linux-mips@linux-mips.org, David Daney <ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
After speaking with Mathieu at the Linux Collaboration Summit, I
worked up these patches.  Thanks Mathieu, for helping me with this.

They should be fairly straight forward, the first one enables syscall
entry tracing, the second gives us system call names in lttv, and the
third fixes up the trace clock to work better on Octeon CPUs.

The base of the patch set is the patch-2.6.32.9-lttng-0.198.tar.gz
bundle from the download page on the web site.  The patches are really
only tested on a 64-bit kernel running on a 12 CPU Octeon SOC.  I
think the 32-bit code will compile and is correct, but I have not
tested it.

David Daney (3):
  lttng: MIPS: Fix syscall entry tracing.
  lttng: MIPS: Dump MIPS system call tables.
  lttng: MIPS: Use 64 bit counter for trace clock on Octeon CPUs.

 arch/mips/Kconfig                   |    5 ++-
 arch/mips/include/asm/trace-clock.h |   39 +++++++++++++++++++++++-
 arch/mips/kernel/scall32-o32.S      |    2 +-
 arch/mips/kernel/scall64-64.S       |    5 ++-
 arch/mips/kernel/scall64-n32.S      |    4 ++-
 arch/mips/kernel/scall64-o32.S      |   10 +++---
 arch/mips/kernel/smp.c              |    2 +
 arch/mips/kernel/syscall.c          |   58 +++++++++++++++++++++++++++++++++++
 8 files changed, 113 insertions(+), 12 deletions(-)


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