This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Exit probe bug
- From: Hien Nguyen <hien at us dot ibm dot com>
- To: systemtap at sources dot redhat dot com
- Date: Tue, 08 Mar 2005 17:06:55 -0800
- Subject: Exit probe bug
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;
}