From c116c31bfdaec3c9d5adbe892d8a1d145b6fcfc2 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Sun, 10 Jan 2010 21:43:17 -0500 Subject: 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. --- testsuite/systemtap.apps/stap-tcl.stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.apps/stap-tcl.stp') diff --git a/testsuite/systemtap.apps/stap-tcl.stp b/testsuite/systemtap.apps/stap-tcl.stp index db3e3690..628d801f 100644 --- a/testsuite/systemtap.apps/stap-tcl.stp +++ b/testsuite/systemtap.apps/stap-tcl.stp @@ -6,7 +6,7 @@ probe process(@1).library(@2).mark("*") { function judge(name, minvalue) { value = @count(counts[name]) - printf("%s %s %d %d\n", ((value>=minvalue)?"OK":"KO"), name, value, minvalue) + printf("%s %s Got: %d Expected Minimum: %d\n", ((value>=minvalue)?"OK":"KO"), name, value, minvalue) } probe end,error { @@ -21,7 +21,7 @@ probe end,error { judge("cmd__entry", 37000) judge("cmd__return", 37000) judge("cmd__result", 37000) - judge("cmd__args", 3700 /* not 37000? */) + judge("cmd__args", 37000) judge("cmd__info", 37000) judge("inst__start", 542000) judge("inst__done", 542000) -- cgit