From 349dc70e4967d0ae1fd7d504bd2c5c13f7b30fd8 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 26 Nov 2008 22:41:48 -0500 Subject: Support debuginfo static uprobes. --- testsuite/ChangeLog | 5 ++++ testsuite/systemtap.base/static_uprobes.exp | 39 +++++++++++++++++++++++++++-- testsuite/systemtap.base/static_uprobes.stp | 15 +++++------ 3 files changed, 48 insertions(+), 11 deletions(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 24f0cbdd..df7a24f9 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-11-26 Stan Cox + + * systemtap.base/static_uprobes.exp: Check debuginfo static uprobes. + * systemtap.base/static_uprobes.stp: Check debuginfo static uprobes. + 2008-11-21 Frank Ch. Eigler PR5689. diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp index 75e8fd21..2e1c41e1 100644 --- a/testsuite/systemtap.base/static_uprobes.exp +++ b/testsuite/systemtap.base/static_uprobes.exp @@ -55,7 +55,6 @@ if { $res != "" } { } set ok 0 -set env(SYSTEMTAP_SDT) 1 spawn stap -c $sup_exepath $srcdir/$subdir/static_uprobes.stp expect { -timeout 180 @@ -65,6 +64,42 @@ expect { timeout { fail "$test (timeout)" } eof { } } + +# Now do a debuginfo style probe of the above test + +set fp [open "[pwd]/static_uprobes.sh" "w"] +puts $fp " +ed $sup_srcpath < Date: Thu, 27 Nov 2008 14:45:16 +0100 Subject: clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD) is just fork (). --- testsuite/systemtap.syscall/ChangeLog | 5 +++++ testsuite/systemtap.syscall/forkwait.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/systemtap.syscall/ChangeLog b/testsuite/systemtap.syscall/ChangeLog index 7cb97dff..e3a1f8de 100644 --- a/testsuite/systemtap.syscall/ChangeLog +++ b/testsuite/systemtap.syscall/ChangeLog @@ -1,3 +1,8 @@ +2008-11-27 Mark Wielaard + + * forkwait.c: clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD) + is just fork (). + 2008-10-04 Mark Wielaard * access.c: sys_access() calls through to sys_faccessat(). diff --git a/testsuite/systemtap.syscall/forkwait.c b/testsuite/systemtap.syscall/forkwait.c index ffc98708..bf7516f6 100644 --- a/testsuite/systemtap.syscall/forkwait.c +++ b/testsuite/systemtap.syscall/forkwait.c @@ -12,7 +12,7 @@ int main () int status; child = fork(); - // clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD) = NNNN + // fork () = NNNN if (!child) { int i = 0xfffff; while (i > 0) i--; -- cgit