summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.apps/stap-tcl.sh
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2010-01-10 21:43:17 -0500
committerStan Cox <scox@redhat.com>2010-01-10 21:43:17 -0500
commitc116c31bfdaec3c9d5adbe892d8a1d145b6fcfc2 (patch)
tree287df109d91ec436d0ab2ef771446cd75d1e4c38 /testsuite/systemtap.apps/stap-tcl.sh
parent392e08b73a6febb831fa73454466e8aba4237a6d (diff)
downloadsystemtap-steved-c116c31bfdaec3c9d5adbe892d8a1d145b6fcfc2.tar.gz
systemtap-steved-c116c31bfdaec3c9d5adbe892d8a1d145b6fcfc2.tar.xz
systemtap-steved-c116c31bfdaec3c9d5adbe892d8a1d145b6fcfc2.zip
Pull set of semaphore into its own function.
* tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Move sdt_sem_address from standalone to stap_uprobes. Remove sdt_sem_tid. In emitted function stap_uprobe_change_plus distinguish VM_EXEC/VM_WRITE cases, use sdt_sem_address member, move setting of semaphores to new emitted function stap_uprobe_change_semaphore_plus. (stap_uprobe_process_found): Call stap_uprobe_change_semaphore_plus. (stap_uprobe_mmap_found): Likewise. * stap-postgres.stp (postgresrelease): New. Sync to current upstream version. * stap-tcl.sh: Check if wget failed. * stap-tcl.stp: Check for skipped probes. * xulrunner.exp: Check if wget failed.
Diffstat (limited to 'testsuite/systemtap.apps/stap-tcl.sh')
-rw-r--r--testsuite/systemtap.apps/stap-tcl.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.apps/stap-tcl.sh b/testsuite/systemtap.apps/stap-tcl.sh
index c3a7f6b7..2a0d0548 100644
--- a/testsuite/systemtap.apps/stap-tcl.sh
+++ b/testsuite/systemtap.apps/stap-tcl.sh
@@ -11,6 +11,10 @@ mkdir -p tcl
if [ ! -r tcl$tclrelease-src.tar.gz ] ; then
wget http://sourceforge.net/projects/tcl/files/Tcl/$tclrelease/tcl$tclrelease-src.tar.gz/download
fi
+if [ ! -r tcl$tclrelease-src.tar.gz ] ; then
+ echo FAIL: wget tcl$tclrelease-src.tar.gz
+ exit
+fi
if [ ! -d tcl/src ] ; then
tar -x -z -f tcl$tclrelease-src.tar.gz