* [Bug translator/12508] New: event-counting command line option
@ 2011-02-23 12:58 fche at redhat dot com
0 siblings, 0 replies; only message in thread
From: fche at redhat dot com @ 2011-02-23 12:58 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12508
Summary: event-counting command line option
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sources.redhat.com
ReportedBy: fche@redhat.com
People seem to find useful the basic "perf -e EVENT -e EVENT2 CMD" type of
invocation, where the tool reports overall event counts. We could support
such a shortcut too, for example:
stap -E perf.sw_clock -E 'syscall.*' -c CMD
to be rewritten into something close to
stap -e 'global c; probe perf.sw_clock,syscall.* { c[pn()]<<<1 }'
-c CMD
except perhaps the automatic global-c printing loop could restrict itself
to @count() only.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-23 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 12:58 [Bug translator/12508] New: event-counting command line option 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).