diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-08-03 14:22:20 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:29 -0400 |
commit | c1bf207d6ee1eb72e9c10365edbdc7c9ff7fb9b0 (patch) | |
tree | 4c5875c8bd9087cd7b2193ac264c002cc384febb /arch/mips/Kconfig | |
parent | 2ea6399f553bf9a47260723b44d50f747e310218 (diff) |
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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index aaca439010df..36642df7d5f6 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -10,6 +10,8 @@ config MIPS | |||
10 | select HAVE_DYNAMIC_FTRACE | 10 | select HAVE_DYNAMIC_FTRACE |
11 | select HAVE_FTRACE_MCOUNT_RECORD | 11 | select HAVE_FTRACE_MCOUNT_RECORD |
12 | select HAVE_FUNCTION_GRAPH_TRACER | 12 | select HAVE_FUNCTION_GRAPH_TRACER |
13 | select HAVE_KPROBES | ||
14 | select HAVE_KRETPROBES | ||
13 | select RTC_LIB if !MACH_LOONGSON | 15 | select RTC_LIB if !MACH_LOONGSON |
14 | 16 | ||
15 | mainmenu "Linux/MIPS Kernel Configuration" | 17 | mainmenu "Linux/MIPS Kernel Configuration" |