This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exit probe bug


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]