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: how to print arrays


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

Attachment: pgp00000.pgp
Description: PGP signature


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