linux-mips
[Top] [All Lists]

[PATCH 0/5] KProbes support for MIPS

To: linux-mips@linux-mips.org, ralf@linux-mips.org, ananth@in.ibm.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, masami.hiramatsu.pt@hitachi.com
Subject: [PATCH 0/5] KProbes support for MIPS
From: David Daney <ddaney@caviumnetworks.com>
Date: Tue, 3 Aug 2010 11:22:17 -0700
Cc: linux-kernel@vger.kernel.org, hschauhan@nulltrace.org, David Daney <ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This patch set adds KProbs, JProbs and KRetProbes support for the MIPS
archetecture.

It was tested on a 64-bit big-endian kernel (Octeon), but should work
equally well on 32-bit and little-endian as well.

As you can see from the patches it is partially based on previous work
by Sony and Himanshu Chauhan.

David Daney (5):
  MIPS: Define regs_return_value()
  MIPS: Add instrunction format for BREAK and SYSCALL
  MIPS: Add KProbe support.
  samples: kprobe_example: Make it print something on MIPS.
  documentation: Mention that KProbes is supported on MIPS

 Documentation/kprobes.txt        |    1 +
 arch/mips/Kconfig                |    2 +
 arch/mips/Makefile               |    3 +
 arch/mips/include/asm/break.h    |    2 +
 arch/mips/include/asm/inst.h     |   15 +-
 arch/mips/include/asm/kdebug.h   |    3 +
 arch/mips/include/asm/kprobes.h  |   91 ++++++
 arch/mips/include/asm/ptrace.h   |    1 +
 arch/mips/kernel/Makefile        |    1 +
 arch/mips/kernel/kprobes.c       |  562 ++++++++++++++++++++++++++++++++++++++
 arch/mips/kernel/traps.c         |   22 ++-
 arch/mips/mm/fault.c             |   15 +-
 samples/kprobes/kprobe_example.c |    9 +
 13 files changed, 724 insertions(+), 3 deletions(-)
 create mode 100644 arch/mips/include/asm/kprobes.h
 create mode 100644 arch/mips/kernel/kprobes.c


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