diff options
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); +} |