summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/two.stp
diff options
context:
space:
mode:
authorfche <fche>2005-02-12 02:28:43 +0000
committerfche <fche>2005-02-12 02:28:43 +0000
commit2f1a1aead38c1dcd329a694dd8d3290b37320466 (patch)
tree3700f34d81fadb3b3f2cf850cce7eaec73d70659 /testsuite/parseok/two.stp
downloadsystemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.tar.gz
systemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.tar.xz
systemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.zip
* parser prototype snapshot
Diffstat (limited to 'testsuite/parseok/two.stp')
-rwxr-xr-xtestsuite/parseok/two.stp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/parseok/two.stp b/testsuite/parseok/two.stp
new file mode 100755
index 00000000..3776633b
--- /dev/null
+++ b/testsuite/parseok/two.stp
@@ -0,0 +1,12 @@
+#! stap
+
+probe kernel:systemcall("foo")
+{
+ array[idx] << value;
+ if (global > 5) { global -- } else ;
+}
+
+probe systemtap:end
+{
+ function("value", 4+8);
+}