Article on Sun's DTrace
Steven Smith
sos22 at cantab.net
Sat Jul 10 12:44:01 PDT 2004
> > It's also possible to put probes on the return instruction of the
> > function. I'm not sure how they're actually finding that, though.
> I think the return probe is done by adding a call probe that changes the
> return address.
Yeah, I thought that when I first saw it, but the probe is passed the
address of the return instruction when it fires, and I can't see how
you could get that if it was just invoked by modifying the return
address on the call stack.
Steven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040710/6446d8dc/attachment.bin
More information about the freebsd-hackers
mailing list