public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/10234] New: clean up aggregate hard-coded logic
@ 2009-06-03 17:45 fche at redhat dot com
  2009-06-03 17:49 ` [Bug runtime/10234] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: fche at redhat dot com @ 2009-06-03 17:45 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <bug-10234-6586@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2016-10-06 22:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 17:45 [Bug runtime/10234] New: clean up aggregate hard-coded logic fche at redhat dot com
2009-06-03 17:49 ` [Bug runtime/10234] " fche at redhat dot com
2009-06-03 18:01 ` leitao at linux dot vnet dot ibm dot com
2009-06-03 18:18 ` jkenisto at us dot ibm dot com
     [not found] <bug-10234-6586@http.sourceware.org/bugzilla/>
2016-09-13 15:26 ` mcermak at redhat dot com
2016-09-13 18:53 ` fche at redhat dot com
2016-09-16  7:59 ` mcermak at redhat dot com
2016-09-20 14:34 ` mcermak at redhat dot com
2016-09-23 14:35 ` mcermak at redhat dot com
2016-09-27  8:44 ` mcermak at redhat dot com
2016-09-30 10:34 ` mcermak at redhat dot com
2016-10-03  9:01 ` mcermak at redhat dot com
2016-10-05  7:36 ` mcermak at redhat dot com
2016-10-06 22:05 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).