This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/11525] pr10854.exp locks up expect run
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 21 Apr 2010 15:37:12 -0000
- Subject: [Bug testsuite/11525] pr10854.exp locks up expect run
- References: <20100421151358.11525.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.