Exit probe bug
Karen Bennet
bennet@redhat.com
Wed Mar 9 23:18:00 GMT 2005
Are you planning to submit this patch upstream for
acceptness and approval?
Hien Nguyen wrote:
> 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;
> }
>
>
More information about the Systemtap
mailing list