This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6847] $$parms/$$vars should be $$*
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Aug 2008 14:53:38 -0000
- Subject: [Bug translator/6847] $$parms/$$vars should be $$*
- References: <20080817132854.6847.mhiramat@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2008-08-18 14:53 -------
> > The "$" *suffix* suggested in bug #3672 was done
> > specifically to avoid namespace collisions of the
> > kind you are looking for here.
>
> I think this also could simplify the syntax including bug #3672.
Let's just say they are opposing proposals.
> - one $ (ex. $var, $return): returns the value of var or return value.
> - two $ (ex. $$var, $$return, $$*): returns the values with variable names.
> - more than two $ (ex. $$$var, $$$*): returns the values ($ means the depth of
> nesting) with variable names.
One obstacle in this scheme's way is that there are material
differences betewen the various metavariables ($$return,
$$vars, $$parms, $$locals, and perhaps others in the future).
They can't all match "*". Further, there is interplay with
.return probes' optional saving of invocation-time variables.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6847
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.