Fix deferred retprobes deletion
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Wed, 13 Feb 2013 12:55:15 +0000 (16:55 +0400)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Wed, 13 Feb 2013 12:55:15 +0000 (16:55 +0400)
commit3c1a3fe6524bfe14b518f5ddeadb3e1c79f0b6f4
treee2576b4205784e7a269c143b69a936136b9df59f
parent4d2ce853428aa2ead6b31ba8fc904398963066d1
Fix deferred retprobes deletion

Every retprobe instance now saves current sp value which is used to
recover original function's return address.  Additionally this modification
may fix the issue with double return events for __switch_to function and also
possible memory leaks with __switch_to/do_exit retprobes instances.
kprobe/arch/asm-arm/dbi_kprobes.c
kprobe/arch/asm-x86/dbi_kprobes.c
kprobe/arch/dbi_kprobes.c
kprobe/dbi_kprobes.c
kprobe/dbi_kprobes.h
kprobe/dbi_kprobes_deps.c
kprobe/dbi_uprobes.c