[Bug testsuite/11525] pr10854.exp locks up expect run
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Apr 21 19:50:00 GMT 2010
------- Additional Comments From dsmith at redhat dot com 2010-04-21 15:37 -------
I haven't seen this problem, but I see problems when looking at pr10854.stp. It
filters out probe hits from 'staprun' instead of 'stapio', and should probably
do that filter in the .return handler also. Here's a patch of those changes:
diff --git a/testsuite/systemtap.base/pr10854.stp
b/testsuite/systemtap.base/pr10854.stp
index 55f027f..82ce1ee 100644
--- a/testsuite/systemtap.base/pr10854.stp
+++ b/testsuite/systemtap.base/pr10854.stp
@@ -7,11 +7,12 @@ function trace(entry_p) {
global trace
probe kernel.function(@1).call {
- if (execname() == "staprun") next # skip our own helper process
+ if (execname() == "stapio") next # skip our own helper process
trace[tid()] = 1
trace(1)
}
probe kernel.function(@1).return {
+ if (execname() == "stapio") next # skip our own helper process
trace(-1)
delete trace[tid()]
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11525
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list