This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: returnval()
- From: Martin Hunt <hunt at redhat dot com>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Tue, 21 Feb 2006 00:23:14 -0800
- Subject: Re: returnval()
- Organization: Red Hat Inc
- References: <43FA3EA6.4000807@us.ibm.com>
On Mon, 2006-02-20 at 14:11 -0800, Hien Nguyen wrote:
> Does anyone know why returnval does not compile on ppc64?
Yeah, that was a mistake. I had a function called returnval() which was
x86 and x86_64 only that I was using. I should probably have been using
retval() instead, but I ended up checking in returnval() too.
We need to standardize on one. retval() came first, but returnval() is
documented. Maybe they can go away after PR 1132 is fixed, but we need
only one until then. Interest. "man stapprobes" documents a mysterious
"$retvalue" which is apparently not implemented yet.
retval(), $retval
returnval(), $returnval
retvalue(), $retvalue
I'm confused. For now, I updated returnval() to be the same as retval(),
so it should work for ppc64.
Martin