This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10234] New: clean up aggregate hard-coded logic
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Jun 2009 17:44:45 -0000
- Subject: [Bug runtime/10234] New: clean up aggregate hard-coded logic
- Reply-to: sourceware-bugzilla at sourceware dot org
the runtime makes a number of unfortunate assumptions about aggregate objects:
- that all of count/min/max/sum should be tracked
- that only one or other type of histogram can be attached to it
So this should work:
global x
probe begin {x <<< 1}
probe end {println(@count(x))}
... and without tracking sums/maxima/whatever. This is an optimization.
and this:
global x
probe begin { x <<< 1 }
probe end {println(@hist_linear(x, 0, 10,1)
println(@hist_linear(x, 20,40,1))
This is a missing feature. (Perhaps we could hack around this limitation
in the translator by forking the "x" variable internally, but it would not
help the memory consumption if e.g. x was an array of aggregates.)
--
Summary: clean up aggregate hard-coded logic
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10234
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.