summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
diff options
context:
space:
mode:
authordsmith <dsmith>2006-11-09 16:51:16 +0000
committerdsmith <dsmith>2006-11-09 16:51:16 +0000
commit1aa8ca8402501fc631f9eb5ee06ef316f01878f1 (patch)
tree73e075594825cd4b054de88c9827c4feadb74bbd /testsuite/semko
parentc9bad43038bd03925816a2e88e880a17d650bbd8 (diff)
downloadsystemtap-steved-1aa8ca8402501fc631f9eb5ee06ef316f01878f1.tar.gz
systemtap-steved-1aa8ca8402501fc631f9eb5ee06ef316f01878f1.tar.xz
systemtap-steved-1aa8ca8402501fc631f9eb5ee06ef316f01878f1.zip
2006-11-09 David Smith <dsmith@redhat.com>
* buildok/maxactive01.stp: Added test for "maxactive(N)" return probe processing. * parseko/maxactive01.stp: Ditto. * parseko/maxactive02.stp: Ditto. * parseko/maxactive03.stp: Ditto. * parseko/maxactive04.stp: Ditto. * semko/maxactive01.stp: Ditto. * semko/maxactive02.stp: Ditto. * semko/maxactive03.stp: Ditto. * systemtap.base/maxactive.exp: Ditto.
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-xtestsuite/semko/maxactive01.stp7
-rwxr-xr-xtestsuite/semko/maxactive02.stp7
-rwxr-xr-xtestsuite/semko/maxactive03.stp7
3 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/semko/maxactive01.stp b/testsuite/semko/maxactive01.stp
new file mode 100755
index 00000000..58851970
--- /dev/null
+++ b/testsuite/semko/maxactive01.stp
@@ -0,0 +1,7 @@
+#!./stap -p2
+
+# maxactive not on a return probe
+
+probe kernel.function("*").maxactive(3)
+{
+}
diff --git a/testsuite/semko/maxactive02.stp b/testsuite/semko/maxactive02.stp
new file mode 100755
index 00000000..55b79582
--- /dev/null
+++ b/testsuite/semko/maxactive02.stp
@@ -0,0 +1,7 @@
+#!./stap -p2
+
+# maxactive with a string argument
+
+probe kernel.function("*").return.maxactive("hi")
+{
+}
diff --git a/testsuite/semko/maxactive03.stp b/testsuite/semko/maxactive03.stp
new file mode 100755
index 00000000..35deecd8
--- /dev/null
+++ b/testsuite/semko/maxactive03.stp
@@ -0,0 +1,7 @@
+#!./stap -p1
+
+# maxactive on a timer probe
+
+probe timer.sec(100).maxactive(3)
+{
+}