MIPS: kprobe: Add support.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 3 Aug 2010 18:22:20 +0000 (11:22 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:29 +0000 (13:26 +0100)
commitc1bf207d6ee1eb72e9c10365edbdc7c9ff7fb9b0
tree4c5875c8bd9087cd7b2193ac264c002cc384febb
parent2ea6399f553bf9a47260723b44d50f747e310218
MIPS: kprobe: Add support.

This patch is based on previous work by Sony and Himanshu Chauhan.

I have done some cleanup and implemented JProbes and KRETPROBES.  The
KRETPROBES part is pretty much copied verbatim from powerpc.  A possible
future enhance might be to factor out the common code.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Himanshu Chauhan <hschauhan@nulltrace.org>
To: linux-mips@linux-mips.org
To: ananth@in.ibm.com,
To: anil.s.keshavamurthy@intel.com
To: davem@davemloft.net
To: masami.hiramatsu.pt@hitachi.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1525/
Patchwork: https://patchwork.linux-mips.org/patch/1530/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/Makefile
arch/mips/include/asm/break.h
arch/mips/include/asm/kdebug.h
arch/mips/include/asm/kprobes.h [new file with mode: 0644]
arch/mips/kernel/Makefile
arch/mips/kernel/kprobes.c [new file with mode: 0644]
arch/mips/kernel/traps.c
arch/mips/mm/fault.c