[Bug runtime/10234] New: clean up aggregate hard-coded logic
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jun 3 17:45:00 GMT 2009
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.
More information about the Systemtap
mailing list