Array length or catching errors

Frank Ch. Eigler fche@redhat.com
Tue Oct 2 04:20:00 GMT 2007


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



More information about the Systemtap mailing list