how to print arrays

Frank Ch. Eigler fche@redhat.com
Thu Aug 25 20:28:00 GMT 2005


Hi -

hunt wrote:

> How should we print arrays?  The current way is tiring to type and
> doesn't support statistics or histograms (yes, I know the language
> doesn't support them either).  So I thought to add a builtin to access
> _stp_map_print()
> [...]

I have a bugzilla item open to introduce a "print" statement right
into the script language.  It would take an array and a format string.

> So the problem really seems to be that the tapsets only provide
> access to locals?? [...]

Yes, for embedded-C functions, access only to locals (its own
parameter list and return value) is intentional.

- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050825/33728b9e/attachment.sig>


More information about the Systemtap mailing list