summaryrefslogtreecommitdiffstats
path: root/runtime/bench2/a.st
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/bench2/a.st')
-rw-r--r--runtime/bench2/a.st13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/bench2/a.st b/runtime/bench2/a.st
new file mode 100644
index 00000000..2efc771f
--- /dev/null
+++ b/runtime/bench2/a.st
@@ -0,0 +1,13 @@
+# printf probefunc
+
+# You can put initialization in here
+probe begin {
+ printf("BEGIN\n")
+}
+
+# This gets probed millions of times. TEST gets replaces
+# by the real probe point.
+probe TEST {
+ printf("%s\n",probefunc())
+}
+