24ba613c9d
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> |
||
---|---|---|
.. | ||
armksyms.c | ||
arthur.c | ||
asm-offsets.c | ||
bios32.c | ||
calls.S | ||
compat.c | ||
compat.h | ||
crunch-bits.S | ||
crunch.c | ||
debug.S | ||
dma-isa.c | ||
dma.c | ||
ecard.c | ||
ecard.h | ||
entry-armv.S | ||
entry-common.S | ||
entry-header.S | ||
fiq.c | ||
head-common.S | ||
head-nommu.S | ||
head.S | ||
init_task.c | ||
io.c | ||
irq.c | ||
isa.c | ||
iwmmxt.S | ||
kprobes-decode.c | ||
kprobes.c | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
process.c | ||
ptrace.c | ||
ptrace.h | ||
relocate_kernel.S | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
signal.h | ||
smp.c | ||
stacktrace.c | ||
stacktrace.h | ||
sys_arm.c | ||
sys_oabi-compat.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S | ||
xscale-cp0.c |