This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: FW: function return value
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: John Liang <jliang at ibrix dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 7 Mar 2007 11:35:20 -0500
- Subject: Re: FW: function return value
- References: <006701c760d4$32170090$ee04a8c0@ibrixfaf958395>
Hi -
> Thanks for your help. I actually sent out one in the morning as
> following. Did you see it? Since I did not receive the following
> email, I was thinking maybe I did not get the right email address to
> send to.
The machine that hosts the project routinely rejects HTML mail.
Maybe that's the problem. Just go for plain text.
> [...] Is there a way to get the return value of a function in
> systemstap?
Certainly. In function().return probes, "$return" gives the value
of the return value, assuming it is a suitable integral type.
- FChE