diff options
author | Nicolas Pitre <nico@cam.org> | 2007-12-03 17:15:52 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:25:17 -0500 |
commit | 5de865b4c5af253db19bdae3c0553952dc7eda1d (patch) | |
tree | 762fb0ecfa34794e35b1993ce731c679659f5154 | |
parent | 796969104cab0d454dbc792ad0d12a4f365a8564 (diff) |
ARM kprobes: let's enable it
Signed-off-by: Nicolas Pitre <nico@marvell.com>
-rw-r--r-- | Documentation/kprobes.txt | 1 | ||||
-rw-r--r-- | arch/arm/Kconfig.instrumentation | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt index cb12ae175aa2..53a63890aea4 100644 --- a/Documentation/kprobes.txt +++ b/Documentation/kprobes.txt | |||
@@ -141,6 +141,7 @@ architectures: | |||
141 | - ppc64 | 141 | - ppc64 |
142 | - ia64 (Does not support probes on instruction slot1.) | 142 | - ia64 (Does not support probes on instruction slot1.) |
143 | - sparc64 (Return probes not yet implemented.) | 143 | - sparc64 (Return probes not yet implemented.) |
144 | - arm | ||
144 | 145 | ||
145 | 3. Configuring Kprobes | 146 | 3. Configuring Kprobes |
146 | 147 | ||
diff --git a/arch/arm/Kconfig.instrumentation b/arch/arm/Kconfig.instrumentation index 63b8c6d5606a..453ad8e15d69 100644 --- a/arch/arm/Kconfig.instrumentation +++ b/arch/arm/Kconfig.instrumentation | |||
@@ -43,6 +43,16 @@ config OPROFILE_MPCORE | |||
43 | config OPROFILE_ARM11_CORE | 43 | config OPROFILE_ARM11_CORE |
44 | bool | 44 | bool |
45 | 45 | ||
46 | config KPROBES | ||
47 | bool "Kprobes" | ||
48 | depends on KALLSYMS && MODULES && !UML && !XIP_KERNEL | ||
49 | help | ||
50 | Kprobes allows you to trap at almost any kernel address and | ||
51 | execute a callback function. register_kprobe() establishes | ||
52 | a probepoint and specifies the callback. Kprobes is useful | ||
53 | for kernel debugging, non-intrusive instrumentation and testing. | ||
54 | If in doubt, say "N". | ||
55 | |||
46 | config MARKERS | 56 | config MARKERS |
47 | bool "Activate markers" | 57 | bool "Activate markers" |
48 | help | 58 | help |