linux-mips
[Top] [All Lists]

[PATCH 0/2] MIPS: Kprobes and Kretprobes Support

To: linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] MIPS: Kprobes and Kretprobes Support
From: Himanshu Chauhan <hschauhan@nulltrace.org>
Date: Tue, 15 Jun 2010 20:12:47 +0530
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org, ddaney@caviumnetworks.com
Sender: linux-mips-bounce@linux-mips.org
This is a set of 2 patches for adding support of kprobes
and kretprobes support on MIPS architecture. All my tests
are done on Qemu's MALTA board. If somebody has _real_ MIPS
machine, I would appreciate a try on the machine.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>

---
Himanshu Chauhan (2):
  MIPS: KProbes Support
  MIPS: Kretprobe support

 arch/mips/Kconfig               |   14 ++
 arch/mips/include/asm/break.h   |    2 +
 arch/mips/include/asm/kdebug.h  |    5 +
 arch/mips/include/asm/kprobes.h |   86 +++++++
 arch/mips/kernel/Makefile       |    2 +
 arch/mips/kernel/kprobes.c      |  493 +++++++++++++++++++++++++++++++++++++++
 arch/mips/kernel/traps.c        |   43 ++++-
 arch/mips/mm/fault.c            |   12 +-
 8 files changed, 654 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>