summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/fourteen.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/buildok/fourteen.stp b/testsuite/buildok/fourteen.stp
new file mode 100755
index 00000000..dd231696
--- /dev/null
+++ b/testsuite/buildok/fourteen.stp
@@ -0,0 +1,6 @@
+#! stap -p4
+
+global i, j
+probe timer.jiffies(100) { i++ }
+probe timer.jiffies(100).randomize(100) { j++ }
+probe end { log ("i=" . string(i) . " j=" . string(j)) }