This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/24416] Tests stuck in uprobes_onthefly.exp


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]