This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/10234] New: clean up aggregate hard-coded logic


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]