FW: function return value

Frank Ch. Eigler fche@redhat.com
Wed Mar 7 16:35:00 GMT 2007


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



More information about the Systemtap mailing list