This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/24416] Tests stuck in uprobes_onthefly.exp
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 05 Apr 2019 19:14:48 +0000
- Subject: [Bug runtime/24416] Tests stuck in uprobes_onthefly.exp
- Auto-submitted: auto-generated
- References: <bug-24416-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24416
--- Comment #4 from William Cohen <wcohen at redhat dot com> ---
trying to get a scaled down reproducer. have the following patch in the
uprobes_onthefly.exp to get the stap files that are being run for the various
tests and the will modify the scripts to see if can get a simpler reproducer:
diff --git a/testsuite/systemtap.onthefly/uprobes_onthefly.exp
b/testsuite/systemtap.onthefly/uprobes_onthefly.exp
index 78975e9d9..6dba88a88 100644
--- a/testsuite/systemtap.onthefly/uprobes_onthefly.exp
+++ b/testsuite/systemtap.onthefly/uprobes_onthefly.exp
@@ -16,6 +16,10 @@ if {![installtest_p] || ![inode_uprobes_p]} {
proc run_stap {subtest args script} {
global test
+ set fid [open "/home/wcohen/$subtest.stp" "w"]
+ puts $fid $script
+ close $fid
+
# Now start the application
set pid [exec ./$test.x &]
@@ -31,7 +35,8 @@ proc run_stap {subtest args script} {
# threshold in the harder subtests. Disable overload checking.
set args "$args -DSTP_NO_OVERLOAD"
- # Run stap and catch any errors (we will rethrow it later)
+ # Run stap and catch any errors (we will rethrow it later)
+ puts "eval exec stap -e {$script} $args"
set err [catch {eval exec stap -e {$script} $args} out]
# Kill app
--
You are receiving this mail because:
You are the assignee for the bug.