public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Array length or catching errors
@ 2007-10-01 22:09 Haley Thrapp
  2007-10-02  4:20 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Haley Thrapp @ 2007-10-01 22:09 UTC (permalink / raw)
  To: systemtap

I have looked through the language reference for System Tap and haven't found what I am looking for.  I would like to be able to check the length of my associative array or to be able to catch the error when I have reached MAXMAPENTRIES so that I can exit a bit more gracefully and print out some of the data I am interested in.  Is there currently any way to do this?  Should I be probing the error somehow?
 
Haley Thrapp






       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Array length or catching errors
  2007-10-01 22:09 Array length or catching errors Haley Thrapp
@ 2007-10-02  4:20 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2007-10-02  4:20 UTC (permalink / raw)
  To: Haley Thrapp; +Cc: systemtap

Haley Thrapp <haley_thrapp@yahoo.com> writes:

> I have looked through the language reference for System Tap and haven't
> found what I am looking for.

Thanks for looking through it first.

> I would like to be able to check the length of my associative array

We don't have such an operation defined yet.   Would you like the number
of entries used or the amount of space available?

> or to be able to catch the error when I have reached MAXMAPENTRIES
> so that I can exit a bit more gracefully and print out some of the
> data I am interested in. [...]

This will be fixed very soon as a part of bug #5078.  The code is
ready, but the test suite engine is resisting.

- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-02  4:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01 22:09 Array length or catching errors Haley Thrapp
2007-10-02  4:20 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).