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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  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 ` rarora at redhat dot com
  2008-10-15 18:25 ` rarora at redhat dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rarora at redhat dot com @ 2008-10-15 18:23 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rarora at redhat dot com @ 2008-10-15 18:25 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |rarora at redhat dot com
                   |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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mjw at redhat dot com @ 2010-05-12 15:28 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rarora at redhat dot com    |systemtap at sources dot
                   |                            |redhat dot com
             Status|REOPENED                    |NEW


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
                   ` (2 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jistone at redhat dot com @ 2010-05-12 21:11 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jistone at redhat dot com  2010-05-12 17:16 -------
We should include other forms of RMW too, like:

  probe foo { var *= 2 }
  global var

-- 


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
                   ` (3 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2010-06-11 19:43 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |11695
              nThis|                            |


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2010-07-29 12:16 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-07-29 12:15 -------
*** Bug 11854 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andi-bz at firstfloor dot
                   |                            |org


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
                   ` (5 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: scox at redhat dot com @ 2010-07-30 13:25 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |scox at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

* [Bug translator/6954] ++ operations not triggering automatic global printing
  2008-10-09 13:15 [Bug translator/6954] New: ++ operations not triggering automatic global printing fche at redhat dot com
                   ` (6 preceding siblings ...)
  2010-07-30 13:25 ` scox at redhat dot com
@ 2010-08-16 19:38 ` scox at redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: scox at redhat dot com @ 2010-08-16 19:38 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From scox at redhat dot com  2010-08-16 19:38 -------
attachment doesn't answer #8 but answers the initial issue.  Posted for future
reference.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|scox at redhat dot com      |systemtap at sources dot
                   |                            |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).