]> err.no Git - linux-2.6/commit
kprobes: kretprobe user entry-handler
authorAbhishek Sagar <sagar.abhishek@gmail.com>
Wed, 6 Feb 2008 09:38:22 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:11 +0000 (10:41 -0800)
commitf47cd9b553aaada602449204513b5a5b29cba263
tree079ddd399b1aa00a8c413ef51f3b8681a19a6e7e
parent5beec4aa2ac261b0b4992fb41df40a7ab91e4fad
kprobes: kretprobe user entry-handler

Provide support to add an optional user defined callback to be run at
function entry of a kretprobe'd function.  Also modify the kprobe smoke
tests to include an entry-handler during the kretprobe sanity test.

Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Cc: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Acked-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kprobes.txt
include/linux/kprobes.h
kernel/kprobes.c
kernel/test_kprobes.c