summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/twentyeight.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/twentyeight.stp')
-rwxr-xr-xtestsuite/semko/twentyeight.stp12
1 files changed, 12 insertions, 0 deletions
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++
+}
+