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

David Daney ddaney at caviumnetworks.com
Mon Apr 19 20:19:48 EDT 2010


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(-)





More information about the lttng-dev mailing list