* [Bug translator/11736] New: new -t option to have per-derived-probe timings
@ 2010-06-22 7:01 fche at redhat dot com
2010-08-12 17:49 ` [Bug translator/11736] " lberk at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2010-06-22 7:01 UTC (permalink / raw)
To: systemtap
Current STAP_TIMING (-t) code only keeps a single Stat* object
per base (end-user script-level) probe. This means that for
a script such as 'probe syscall.* {}' we get only a single
-t summary line. It is just as useful sometimes to have a
detailed list of times/hits per low-level probe point rather
than script-level, so that each 'kernel.function("sys_foo")'
created for syscall.* can get its own timing statistic. This
should be a new option (rather than a change to -t's current
behavior).
See also bug #10788
Implementation would focus on translate.cxx:emit_common_header():
oss << "c->statp = & time_" << dp->basest()->name << ";" << endl; // -t
anti-dupe
where the basest() part would be nuked. Instead, a per-pp() Stat would
have to be declared elsewhere and referenced here.
--
Summary: new -t option to have per-derived-probe timings
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=11736
------- 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/11736] new -t option to have per-derived-probe timings
2010-06-22 7:01 [Bug translator/11736] New: new -t option to have per-derived-probe timings fche at redhat dot com
@ 2010-08-12 17:49 ` lberk at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: lberk at redhat dot com @ 2010-08-12 17:49 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |lberk at redhat dot com
|redhat dot com |
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=11736
------- 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:[~2010-08-12 17:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-22 7:01 [Bug translator/11736] New: new -t option to have per-derived-probe timings fche at redhat dot com
2010-08-12 17:49 ` [Bug translator/11736] " lberk 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).