This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: Exit probe bug
- From: Jim Keniston <jkenisto at us dot ibm dot com>
- To: hien at us dot ibm dot com
- Cc: systemtap at sources dot redhat dot com
- Date: 09 Mar 2005 14:03:27 -0800
- Subject: Re: Exit probe bug
- Organization:
- References: <OF04C3A938.67363FD4-ON88256FBF.00777119-88256FBF.0077744B@us.ibm.com>
Hien said:
> 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.
> ...
I thought you were going to pass the rprobe_instance pointer to the
handler. You can compute the kprobe pointer from that
(ri->rp->kprobe). One thing you can get from the rprobe_instance that
you can't get from the kprobe (or pt_regs) is the return address.
Jim