summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/provok/one.stp26
1 files changed, 0 insertions, 26 deletions
diff --git a/testsuite/provok/one.stp b/testsuite/provok/one.stp
deleted file mode 100755
index e51ee28a..00000000
--- a/testsuite/provok/one.stp
+++ /dev/null
@@ -1,26 +0,0 @@
-#! stap
-
-global ar1, ar2
-
-function string (v) { return "" } # to become built-in
-
-function search (key)
-{
- if (key in ar1)
- { ar1[key] ++; return ar2[ar1[key]] }
- else
- return "no can do"
-}
-
-probe syscall("zamboni")
-{
- thread->ar2 = $tgid;
- search ($pid)
-}
-
-probe end
-{
- for (key in ar2)
- # if (key in ar2)
- printk ("this: " . string (key) . " was " . string (ar2[key]))
-}