summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/semko/thirty.stp11
-rwxr-xr-xtestsuite/semko/thirtyone.stp11
-rwxr-xr-xtestsuite/semko/twentyeight.stp12
-rwxr-xr-xtestsuite/semko/twentyfive.stp12
-rwxr-xr-xtestsuite/semko/twentyfour.stp12
-rwxr-xr-xtestsuite/semko/twentynine.stp11
-rwxr-xr-xtestsuite/semko/twentyseven.stp17
-rwxr-xr-xtestsuite/semko/twentysix.stp12
8 files changed, 98 insertions, 0 deletions
diff --git a/testsuite/semko/thirty.stp b/testsuite/semko/thirty.stp
new file mode 100755
index 00000000..b8f0ab4b
--- /dev/null
+++ b/testsuite/semko/thirty.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+probe end
+{
+ x = 10
+}
+
diff --git a/testsuite/semko/thirtyone.stp b/testsuite/semko/thirtyone.stp
new file mode 100755
index 00000000..4b6e98d5
--- /dev/null
+++ b/testsuite/semko/thirtyone.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+probe end
+{
+ x[10] = 10
+}
+
diff --git a/testsuite/semko/twentyeight.stp b/testsuite/semko/twentyeight.stp
new file mode 100755
index 00000000..68590f86
--- /dev/null
+++ b/testsuite/semko/twentyeight.stp
@@ -0,0 +1,12 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+probe end
+{
+ x <<< 10
+ x++
+}
+
diff --git a/testsuite/semko/twentyfive.stp b/testsuite/semko/twentyfive.stp
new file mode 100755
index 00000000..7ac7e099
--- /dev/null
+++ b/testsuite/semko/twentyfive.stp
@@ -0,0 +1,12 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10), log_hist(y, 10)
+
+
+probe end
+{
+ x = y[10]
+}
+
diff --git a/testsuite/semko/twentyfour.stp b/testsuite/semko/twentyfour.stp
new file mode 100755
index 00000000..81a69902
--- /dev/null
+++ b/testsuite/semko/twentyfour.stp
@@ -0,0 +1,12 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10), log_hist(y, 10)
+
+
+probe end
+{
+ y = x
+}
+
diff --git a/testsuite/semko/twentynine.stp b/testsuite/semko/twentynine.stp
new file mode 100755
index 00000000..8cc2e2d5
--- /dev/null
+++ b/testsuite/semko/twentynine.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+probe end
+{
+ x <<< 10 <<< 11
+}
+
diff --git a/testsuite/semko/twentyseven.stp b/testsuite/semko/twentyseven.stp
new file mode 100755
index 00000000..a678bcd2
--- /dev/null
+++ b/testsuite/semko/twentyseven.stp
@@ -0,0 +1,17 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+function foo(bar)
+{
+ bar <<< x
+}
+
+probe end
+{
+ x <<< 10
+ foo(x)
+}
+
diff --git a/testsuite/semko/twentysix.stp b/testsuite/semko/twentysix.stp
new file mode 100755
index 00000000..34d6d1d3
--- /dev/null
+++ b/testsuite/semko/twentysix.stp
@@ -0,0 +1,12 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10)
+
+
+probe end
+{
+ x[10] = 10
+}
+