public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5686] New: automagic printing of global arrays
@ 2008-01-28 20:32 fche at redhat dot com
  2008-03-22  2:58 ` [Bug translator/5686] " eteo at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2008-01-28 20:32 UTC (permalink / raw)
  To: systemtap

It would be a convenient effort-saving device to have the translator
synthesize simple foreach/print loops for arrays that are "forgotten":
only written to.  Then a single-liner script could be used for simple
reports:

probe timer.profile { hotfuncs[execname(), probefunc()] <<< 1 }

In the same vein, we could have the translator automatically declare
arrays like hotfuncs as global (with a warning).

-- 
           Summary: automagic printing of global arrays
           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=5686

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

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

* [Bug translator/5686] automagic printing of global arrays
  2008-01-28 20:32 [Bug translator/5686] New: automagic printing of global arrays fche at redhat dot com
@ 2008-03-22  2:58 ` eteo at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: eteo at redhat dot com @ 2008-03-22  2:58 UTC (permalink / raw)
  To: systemtap



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


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

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

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

end of thread, other threads:[~2008-03-22  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-28 20:32 [Bug translator/5686] New: automagic printing of global arrays fche at redhat dot com
2008-03-22  2:58 ` [Bug translator/5686] " eteo 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).