public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6954] New: ++ operations not triggering automatic global printing
@ 2008-10-09 13:15 fche at redhat dot com
  2008-10-15 18:23 ` [Bug translator/6954] " rarora at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-10-09 13:15 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-08-16 19:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
2008-10-15 18:23 ` [Bug translator/6954] " rarora at redhat dot com
2008-10-15 18:25 ` rarora at redhat dot com
2010-05-12 15:28 ` mjw at redhat dot com
2010-05-12 21:11 ` jistone at redhat dot com
2010-06-11 19:43 ` fche at redhat dot com
2010-07-29 12:16 ` fche at redhat dot com
2010-07-30 13:25 ` scox at redhat dot com
2010-08-16 19:38 ` scox 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).