Better handling of arguments/literals from the command-line?
Frank Ch. Eigler
fche@redhat.com
Tue Oct 7 12:05:00 GMT 2008
"Stone, Joshua I" <joshua.i.stone@intel.com> writes:
> [...]
> For parameters that are only used as literals in function/probe bodies,
> we could probably synthesize this global-as-parameter method implicitly.
> We could internally translate this:
>
> probe begin { println(@1, $2) }
>
> into this:
>
> global __string_arg1 = ""
> global __long_arg2 = 0
> probe begin { println(__string_arg1, __long_arg2) }
Not quite - the $num parameter series constitute pasted token
sequences, not simple numbers any more.
- FChE
More information about the Systemtap
mailing list