summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwenji <wenji>2007-09-10 07:54:10 +0000
committerwenji <wenji>2007-09-10 07:54:10 +0000
commitee4d87cc3d310711ca1d0b58d75a722c2bce7396 (patch)
treed62bcabe2de8fecd216625f4f434f47e8ee97268
parent006cc34da5ca154526b616f99492db99db417525 (diff)
downloadsystemtap-steved-ee4d87cc3d310711ca1d0b58d75a722c2bce7396.tar.gz
systemtap-steved-ee4d87cc3d310711ca1d0b58d75a722c2bce7396.tar.xz
systemtap-steved-ee4d87cc3d310711ca1d0b58d75a722c2bce7396.zip
2007-09-10 Wenji Huang <wenji.huang@oracle.com>
* systemtap.stress/current.stp: Make module probe optional. * buildok/four.stp: Ditto. * buildok/twentyfive.stp: Ditto. * semok/twelve.stp: Ditto.
-rw-r--r--testsuite/ChangeLog7
-rwxr-xr-xtestsuite/buildok/four.stp8
-rwxr-xr-xtestsuite/buildok/twentyfive.stp2
-rwxr-xr-xtestsuite/semok/twelve.stp2
-rw-r--r--testsuite/systemtap.stress/current.stp4
5 files changed, 18 insertions, 5 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 5d49161e..118bfee8 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-10 Wenji Huang <wenji.huang@oracle.com>
+
+ * systemtap.stress/current.stp: Make module probe optional.
+ * buildok/four.stp: Ditto.
+ * buildok/twentyfive.stp: Ditto.
+ * semok/twelve.stp: Ditto.
+
2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>
PR 4542
diff --git a/testsuite/buildok/four.stp b/testsuite/buildok/four.stp
index 8ceff188..7ecbc5c8 100755
--- a/testsuite/buildok/four.stp
+++ b/testsuite/buildok/four.stp
@@ -1,6 +1,12 @@
#! stap -p4
-probe module("ext3").function("*")
+probe module("ext3").function("*") ?
{
log ("ext3 fn")
}
+
+/*to avoid empty file*/
+probe begin
+{
+
+}
diff --git a/testsuite/buildok/twentyfive.stp b/testsuite/buildok/twentyfive.stp
index 1bd39b02..3326ba40 100755
--- a/testsuite/buildok/twentyfive.stp
+++ b/testsuite/buildok/twentyfive.stp
@@ -2,7 +2,7 @@
# PR 3522.
-probe module("ext3").function("ext3_check_dir_entry") {
+probe module("ext3").function("ext3_check_dir_entry")? {
print ($ext3_filetype_table[1]) # static global in CU
}
probe timer.s(4) { exit () }
diff --git a/testsuite/semok/twelve.stp b/testsuite/semok/twelve.stp
index 8eccd463..c55a1e16 100755
--- a/testsuite/semok/twelve.stp
+++ b/testsuite/semok/twelve.stp
@@ -11,7 +11,7 @@ probe kernel.function("pipe_*")
# resolve to a set of module functions
-probe module("jbd").function("journal_get_*_access@*/transaction.c")
+probe module("jbd").function("journal_get_*_access@*/transaction.c") ?
{
trace("inside journal_get_*_access, in transaction.c")
}
diff --git a/testsuite/systemtap.stress/current.stp b/testsuite/systemtap.stress/current.stp
index 09e54bad..ff2a9941 100644
--- a/testsuite/systemtap.stress/current.stp
+++ b/testsuite/systemtap.stress/current.stp
@@ -55,8 +55,8 @@ probe
kernel.function("*@kernel/sched.c").call,
kernel.function("*@kernel/sched.c").return,
- module("*").function("*interrupt*").call,
- module("*").function("*interrupt*").return
+ module("*").function("*interrupt*").call ?,
+ module("*").function("*interrupt*").return ?
{
length <<< commlen()
length <<< pcommlen()