summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2412/pm.c
diff options
context:
space:
mode:
authorAbhishek Sagar <sagar.abhishek@gmail.com>2007-06-12 00:20:10 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 16:25:16 +0100
commit24ba613c9d6cad315f484e658288db152f1dc447 (patch)
tree0a94ff96c77ccf7e0415bd2bc76ab400468c5e6e /arch/arm/mach-s3c2412/pm.c
parentARM kprobes: instruction single-stepping support (diff)
downloadlinux-24ba613c9d6cad315f484e658288db152f1dc447.tar.xz
linux-24ba613c9d6cad315f484e658288db152f1dc447.zip
ARM kprobes: core code
This is a full implementation of Kprobes including Jprobes and Kretprobes support. This ARM implementation does not follow the usual kprobes double- exception model. The traditional model is where the initial kprobes breakpoint calls kprobe_handler(), which returns from exception to execute the instruction in its original context, then immediately re-enters after a second breakpoint (or single-stepping exception) into post_kprobe_handler(), each time the probe is hit.. The ARM implementation only executes one kprobes exception per hit, so no post_kprobe_handler() phase. All side-effects from the kprobe'd instruction are resolved before returning from the initial exception. As a result, all instructions are _always_ effectively boosted regardless of the type of instruction, and even regardless of whether or not there is a post-handler for the probe. Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Signed-off-by: Quentin Barnes <qbarnes@gmail.com> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-s3c2412/pm.c')
0 files changed, 0 insertions, 0 deletions