I found a bug in the exit probe patch I sent out last week. The bug is
not effect the exit probe functionality. But it makes sense to pass to
the rprobe handler its counter part kprobe rather the trampoline kprobe.
Hien.
------------------------------------------------------------------------
--- linux-2.6.10.works/arch/i386/kernel/kprobes.c.old 2005-03-08 16:56:34.113610333 -0800
+++ linux-2.6.10.works/arch/i386/kernel/kprobes.c 2005-03-08 16:13:30.000000000 -0800
@@ -197,7 +197,7 @@
}
if (ri->rp && !ri->rp->unregistering) {
- return ri->rp->handler(p, regs);
+ return ri->rp->handler(ri->rp->kprobe, regs);
}
return 0;
}