From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27035 invoked by alias); 2 Oct 2007 04:20:04 -0000 Received: (qmail 26757 invoked by uid 22791); 2 Oct 2007 04:20:02 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 Oct 2007 04:20:00 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l924Jwlm015370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Oct 2007 00:19:58 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l924JvFX019031; Tue, 2 Oct 2007 00:19:57 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l924JnWL031784; Tue, 2 Oct 2007 00:19:57 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 468068001FF; Tue, 2 Oct 2007 00:19:49 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id l924JmRw000560; Tue, 2 Oct 2007 00:19:48 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id l924JmmI000559; Tue, 2 Oct 2007 00:19:48 -0400 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Haley Thrapp Cc: systemtap@sourceware.org Subject: Re: Array length or catching errors References: <145838.61541.qm@web45502.mail.sp1.yahoo.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 02 Oct 2007 04:20:00 -0000 In-Reply-To: <145838.61541.qm@web45502.mail.sp1.yahoo.com> (Haley Thrapp's message of "Mon, 1 Oct 2007 15:09:49 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00003.txt.bz2 Haley Thrapp 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