[Bug translator/6954] New: ++ operations not triggering automatic global printing

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Oct 9 13:15:00 GMT 2008


Further to bug #5686, code such as this should also trigger the automatic
global value printing logic:

  probe foo { var ++ }
  global var

but it doesn't, because the tree analysis visitor used for this purpose
treats the "++" operation as both read and write of the variable.  This
may be true for locking or some other purposes, but given that the value
is thrown away, it really is just a "write".  Therefore it should trigger
automagic printing.

-- 
           Summary: ++ operations not triggering automatic global printing
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6954

------- 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