Bug 917 - support statistics types, variables, operators, maps
Summary: support statistics types, variables, operators, maps
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: weeks
Assignee: Graydon Hoare
URL:
Keywords:
: 1167 (view as bug list)
Depends on:
Blocks: 922
  Show dependency treegraph
 
Reported: 2005-05-02 16:14 UTC by Frank Ch. Eigler
Modified: 2005-12-12 15:28 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2005-05-02 16:14:37 UTC
 
Comment 1 Frank Ch. Eigler 2005-08-19 15:27:38 UTC
*** Bug 1167 has been marked as a duplicate of this bug. ***
Comment 3 Frank Ch. Eigler 2005-10-13 18:07:20 UTC
good luck, dude!
Comment 4 Graydon Hoare 2005-10-20 22:15:59 UTC
version in CVS now handles 

global log_hist(foo,NBUCKETS) 

and 

global linear_hist(foo,LO,HI,STEP)

as "quasi scalar" variables and as statistic-valued maps. can't be copied, can't
be assigned to or from. operator <<< inserts pe_long values into stats,
expressions of type <<< are pe_long, expression value is the inserted value. not
lockless as advertized; they're currently just as SMP-expensive as any other
sort of variable. 

only rudimentary (build-stage) testing, no print or inspection operators, no
changes to docs yet.
Comment 5 Frank Ch. Eigler 2005-11-30 16:39:00 UTC
Is it an accident that the translation of the "<<<" operator currently causes an
exclusive (write) lock to be taken on the stats array for the operation?
Comment 6 Graydon Hoare 2005-12-10 05:58:34 UTC
Final bit of functionality for this (histograms in pseudo-array contexts) should
finally now be committed. Let me know if you find further missing support.
Comment 7 Frank Ch. Eigler 2005-12-12 15:28:29 UTC
fnord