This is the mail archive of the systemtap@sourceware.org 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: FW: function return value


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


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