Skip to content

Commit

Permalink
ARM kprobes: let's enable it
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Nicolas Pitre authored and Russell King committed Jan 26, 2008
1 parent 7969691 commit 5de865b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/kprobes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ architectures:
- ppc64
- ia64 (Does not support probes on instruction slot1.)
- sparc64 (Return probes not yet implemented.)
- arm

3. Configuring Kprobes

Expand Down
10 changes: 10 additions & 0 deletions arch/arm/Kconfig.instrumentation
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5de865b

Please sign in to comment.