diff options
author | fche <fche> | 2005-02-12 02:28:43 +0000 |
---|---|---|
committer | fche <fche> | 2005-02-12 02:28:43 +0000 |
commit | 2f1a1aead38c1dcd329a694dd8d3290b37320466 (patch) | |
tree | 3700f34d81fadb3b3f2cf850cce7eaec73d70659 /testsuite | |
download | systemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.tar.gz systemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.tar.xz systemtap-steved-2f1a1aead38c1dcd329a694dd8d3290b37320466.zip |
* parser prototype snapshot
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/parseko/one.stp | 2 | ||||
-rwxr-xr-x | testsuite/parseko/two.stp | 4 | ||||
-rwxr-xr-x | testsuite/parseok/one.stp | 2 | ||||
-rwxr-xr-x | testsuite/parseok/two.stp | 12 |
4 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/parseko/one.stp b/testsuite/parseko/one.stp new file mode 100755 index 00000000..f288e930 --- /dev/null +++ b/testsuite/parseko/one.stp @@ -0,0 +1,2 @@ +#! stap +"not a probe" diff --git a/testsuite/parseko/two.stp b/testsuite/parseko/two.stp new file mode 100755 index 00000000..64a24afe --- /dev/null +++ b/testsuite/parseko/two.stp @@ -0,0 +1,4 @@ +#! stap +probe foo { + a + +} diff --git a/testsuite/parseok/one.stp b/testsuite/parseok/one.stp new file mode 100755 index 00000000..b3ca32b2 --- /dev/null +++ b/testsuite/parseok/one.stp @@ -0,0 +1,2 @@ +#! stap +# test 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); +} |