* [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes
@ 2009-10-16 12:40 mjw at redhat dot com
2009-10-16 22:47 ` [Bug translator/10788] " jistone at redhat dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: mjw at redhat dot com @ 2009-10-16 12:40 UTC (permalink / raw)
To: systemtap
When running with -t the statistics report only shows the statement probes that
were derived from the mark probes. That makes it hard to see which is which.
$ stap -t -e 'probe process("stap").mark("*_start") { log("start: " . $$name) }
probe process("stap").mark("*_end") { log("end: " . $$name) }' -c "stap -e
'probe begin { exit() }'"
start: pass0__start
end: pass0__end
start: pass1a__start
start: pass1b__start
end: pass1__end
start: pass2__start
start: pass5__start
start: stap_system__start
end: pass5__end
start: pass6__start
start: stap_system__start
end: pass6__end
probe process("stap").statement(877442) (<input>:1:1), hits: 8, cycles:
2640min/5039avg/10040max
probe process("stap").statement(127589) (<input>:1:67), hits: 4, cycles:
6840min/7907avg/8980max
Also I would have expected to see all statement probes for all resolved mark
probes instead of one statement probe for each group of mark probes.
--
Summary: -t statistics report on derived statement probes instead
of mark probes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
@ 2009-10-16 22:47 ` jistone at redhat dot com
2009-10-16 22:54 ` jistone at redhat dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jistone at redhat dot com @ 2009-10-16 22:47 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jistone at redhat dot com 2009-10-16 22:47 -------
(In reply to comment #0)
> When running with -t the statistics report only shows the statement probes that
> were derived from the mark probes. That makes it hard to see which is which.
>
> $ stap -t -e 'probe process("stap").mark("*_start") { log("start: " . $$name) }
> probe process("stap").mark("*_end") { log("end: " . $$name) }' -c "stap -e
> 'probe begin { exit() }'"
> [...]
> probe process("stap").statement(877442) (<input>:1:1), hits: 8, cycles:
> 2640min/5039avg/10040max
> probe process("stap").statement(127589) (<input>:1:67), hits: 4, cycles:
> 6840min/7907avg/8980max
We currently kludge the .mark names back in for listing mode, but I've been
thinking of ways to make this appear more naturally. I may take a stab at it to
address your concern here as well.
> Also I would have expected to see all statement probes for all resolved mark
> probes instead of one statement probe for each group of mark probes.
This is a "feature". The timing stats are deliberately merged for each probe
body, which is why you see only two groups of timing info. If you do this on
"probe begin,end,error {...}", you'll see "probe begin+2" in the timing stats.
We should at least have this count the # of expanded wildcards as well.
As an enhancement, maybe we could split up the timing info with additional "-t"
options. I'm not sure how much granularity we need between the current "time
each script-level probe body" and "time each resolved probe instance" -- maybe
just those two levels are enough.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
2009-10-16 22:47 ` [Bug translator/10788] " jistone at redhat dot com
@ 2009-10-16 22:54 ` jistone at redhat dot com
2009-10-17 9:34 ` mjw at redhat dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jistone at redhat dot com @ 2009-10-16 22:54 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jistone at redhat dot com 2009-10-16 22:54 -------
BTW, I saw your comment on IRC about wide timing variance in "probe syscall.*"
-- if you're using the argstr, I'm not surprised at all that various syscalls
take different times to compose it. Having more timer-stat granularity would
allow us to see which ones were particularly high.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
2009-10-16 22:47 ` [Bug translator/10788] " jistone at redhat dot com
2009-10-16 22:54 ` jistone at redhat dot com
@ 2009-10-17 9:34 ` mjw at redhat dot com
2009-10-17 12:16 ` fche at redhat dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mjw at redhat dot com @ 2009-10-17 9:34 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2009-10-17 09:34 -------
(In reply to comment #2)
> BTW, I saw your comment on IRC about wide timing variance in "probe syscall.*"
> -- if you're using the argstr, I'm not surprised at all that various syscalls
> take different times to compose it. Having more timer-stat granularity would
> allow us to see which ones were particularly high.
Yes, if that was the case, then having more granular statistics would be nice to
have. But in this case you can see the variance even with really simple probes
like: stap -t -e 'probe syscall.* { printf(".") }' -c 'sleep 5'
[... dots ...]
probe syscall.* (<input>:1:1), hits: 1236852, cycles: 440min/533avg/20108max
Maybe this deserves its own bug report if it doesn't exist yet.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
` (2 preceding siblings ...)
2009-10-17 9:34 ` mjw at redhat dot com
@ 2009-10-17 12:16 ` fche at redhat dot com
2009-10-22 18:05 ` jistone at redhat dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: fche at redhat dot com @ 2009-10-17 12:16 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2009-10-17 12:16 -------
(In reply to comment #3)
> Yes, if that was the case, then having more granular statistics would be nice to
> have. But in this case you can see the variance even with really simple probes
> like: stap -t -e 'probe syscall.* { printf(".") }' -c 'sleep 5'
> [... dots ...]
> probe syscall.* (<input>:1:1), hits: 1236852, cycles: 440min/533avg/20108max
> Maybe this deserves its own bug report if it doesn't exist yet.
I don't think so -- the average here is close to the minimum, over a million+
hits. The maximum translates to a ~hundred cache misses, which is plausible
considering the amount of code & data involved in printf().
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
` (3 preceding siblings ...)
2009-10-17 12:16 ` fche at redhat dot com
@ 2009-10-22 18:05 ` jistone at redhat dot com
2010-03-16 18:20 ` jistone at redhat dot com
2010-09-22 12:37 ` fche at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: jistone at redhat dot com @ 2009-10-22 18:05 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |10831
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
` (4 preceding siblings ...)
2009-10-22 18:05 ` jistone at redhat dot com
@ 2010-03-16 18:20 ` jistone at redhat dot com
2010-09-22 12:37 ` fche at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: jistone at redhat dot com @ 2010-03-16 18:20 UTC (permalink / raw)
To: systemtap
--
Bug 10788 depends on bug 10831, which changed state.
Bug 10831 Summary: Preserve the derivation chain for sdt and label probes
http://sourceware.org/bugzilla/show_bug.cgi?id=10831
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug translator/10788] -t statistics report on derived statement probes instead of mark probes
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
` (5 preceding siblings ...)
2010-03-16 18:20 ` jistone at redhat dot com
@ 2010-09-22 12:37 ` fche at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: fche at redhat dot com @ 2010-09-22 12:37 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2010-09-22 12:37 -------
*** This bug has been marked as a duplicate of 11736 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://sourceware.org/bugzilla/show_bug.cgi?id=10788
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-09-22 12:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-16 12:40 [Bug translator/10788] New: -t statistics report on derived statement probes instead of mark probes mjw at redhat dot com
2009-10-16 22:47 ` [Bug translator/10788] " jistone at redhat dot com
2009-10-16 22:54 ` jistone at redhat dot com
2009-10-17 9:34 ` mjw at redhat dot com
2009-10-17 12:16 ` fche at redhat dot com
2009-10-22 18:05 ` jistone at redhat dot com
2010-03-16 18:20 ` jistone at redhat dot com
2010-09-22 12:37 ` 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).