summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.apps/xulrunner.exp
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/xulrunner.exp
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/xulrunner.exp')
-rw-r--r--testsuite/systemtap.apps/xulrunner.exp8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/systemtap.apps/xulrunner.exp b/testsuite/systemtap.apps/xulrunner.exp
index 7a6b934a..2bcc6a20 100644
--- a/testsuite/systemtap.apps/xulrunner.exp
+++ b/testsuite/systemtap.apps/xulrunner.exp
@@ -81,6 +81,10 @@ fi
if \[ ! -r xulrunner-$xulrelease.source.tar.bz2 \] ; then
wget ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$xulrelease/source/xulrunner-$xulrelease.source.tar.bz2
fi
+if \[ ! -r xulrunner-$xulrelease.source.tar.bz2 \] ; then
+ echo FAIL: wget xulrunner-$xulrelease.source.tar.bz2
+ exit
+fi
if \[ ! -d xul/src \] ; then
bunzip2 xulrunner-$xulrelease.source.tar.bz2
@@ -104,9 +108,9 @@ CFLAGS='-g -I$env(SYSTEMTAP_INCLUDES)' \
PATH=$env(SYSTEMTAP_PATH)/:\$PATH \
../src/configure --prefix=$xuldir --enable-dtrace --enable-application=xulrunner
sed -i '/include.*rules.mk/a\
-PROGOBJS+=./mozjs-dtrace.o' xul/bld/js/src/Makefile
+PROGOBJS+=mozjs-dtrace.o' js/src/Makefile
J=\$(getconf _NPROCESSORS_CONF)
-make -j \$J
+make
fi
run_tests uprobe