]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM kprobes: let's enable it
authorNicolas Pitre <nico@cam.org>
Mon, 3 Dec 2007 22:15:52 +0000 (17:15 -0500)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:25:17 +0000 (15:25 +0000)
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Documentation/kprobes.txt
arch/arm/Kconfig.instrumentation

index cb12ae175aa2de80b3114434c20e64cac4857593..53a63890aea49a9def4240e426ddce1db32439c8 100644 (file)
@@ -141,6 +141,7 @@ architectures:
 - ppc64
 - ia64 (Does not support probes on instruction slot1.)
 - sparc64 (Return probes not yet implemented.)
+- arm
 
 3. Configuring Kprobes
 
index 63b8c6d5606ad34a6ba799df038e3e886c4e3fd7..453ad8e15d6995ce876683476791dbfd28f8b678 100644 (file)
@@ -43,6 +43,16 @@ config OPROFILE_MPCORE
 config OPROFILE_ARM11_CORE
        bool
 
+config KPROBES
+       bool "Kprobes"
+       depends on KALLSYMS && MODULES && !UML && !XIP_KERNEL
+       help
+         Kprobes allows you to trap at almost any kernel address and
+         execute a callback function.  register_kprobe() establishes
+         a probepoint and specifies the callback.  Kprobes is useful
+         for kernel debugging, non-intrusive instrumentation and testing.
+         If in doubt, say "N".
+
 config MARKERS
        bool "Activate markers"
        help