This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2610] New: @ops on empty scalar statistics aggregates
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 26 Apr 2006 22:10:13 -0000
- Subject: [Bug translator/2610] New: @ops on empty scalar statistics aggregates
- Reply-to: sourceware-bugzilla at sourceware dot org
For arrays of aggregates, accessing a nonexistent value results in an error:
a[2] <<< 2; @avg(a[3])
This is intentional, since @avg is considered undefined for a zero-element
list. However, for scalars, we don't enforce this same thing:
@avg(b) ; @max(b)
may spit out a generic division-by-zero error or a sentinel "0" value.
It should be made consistent with the vector-of-aggregates case, so that
only @count() is valid on an empty aggregate scalar.
--
Summary: @ops on empty scalar statistics aggregates
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2610
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.