public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/2157] New: Cannot clear pmaps
@ 2006-01-16  8:39 hunt at redhat dot com
  2006-01-16 18:40 ` [Bug translator/2157] " joshua dot i dot stone at intel dot com
  2006-01-16 18:59 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hunt at redhat dot com @ 2006-01-16  8:39 UTC (permalink / raw)
  To: systemtap

Maps containing stats (pmaps) cannot be cleared by either doing
foo[1] = 0
or
delete foo

Testcase is checked in as tests/testsuite/systemtap.maps/ix_clear.stp

-- 
           Summary: Cannot clear pmaps
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: hunt at redhat dot com


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/2157] Cannot clear pmaps
  2006-01-16  8:39 [Bug translator/2157] New: Cannot clear pmaps hunt at redhat dot com
@ 2006-01-16 18:40 ` joshua dot i dot stone at intel dot com
  2006-01-16 18:59 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2006-01-16 18:40 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From joshua dot i dot stone at intel dot com  2006-01-16 18:40 -------
This is covered by bug 2140.  I've submitted an initial patch for that bug, but
it's not quite complete yet.

This bug should probably be marked as a duplicate, unless we want 'stat=0' to
also clear stats.  That will require more changes to the way types are inferred
- e.g. do we special-case 0, or do we also allow 'stat=1'?  And what would that
mean?  I think the delete operator makes more sense.

-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/2157] Cannot clear pmaps
  2006-01-16  8:39 [Bug translator/2157] New: Cannot clear pmaps hunt at redhat dot com
  2006-01-16 18:40 ` [Bug translator/2157] " joshua dot i dot stone at intel dot com
@ 2006-01-16 18:59 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2006-01-16 18:59 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2006-01-16 18:59 -------
"delete ARRAY" and "delete ARRAY[index]" should clearly work for both plain and
aggregate arrays.  I can go along with a "delete SCALAR" too.

Using assignment to reset is less appealing.


*** This bug has been marked as a duplicate of 2140 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2006-01-16 18:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-16  8:39 [Bug translator/2157] New: Cannot clear pmaps hunt at redhat dot com
2006-01-16 18:40 ` [Bug translator/2157] " joshua dot i dot stone at intel dot com
2006-01-16 18:59 ` fche 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).