diff options
author | fche <fche> | 2005-08-18 01:14:52 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-18 01:14:52 +0000 |
commit | e97bcaa1e868db40b90d63a9ff58295c98b3abb2 (patch) | |
tree | e15f3529df539f6703b9cea58e7c42d5bc185a07 /testsuite | |
parent | 83ff1cf9bd71350ade588ed858ba679548be6860 (diff) | |
download | systemtap-steved-e97bcaa1e868db40b90d63a9ff58295c98b3abb2.tar.gz systemtap-steved-e97bcaa1e868db40b90d63a9ff58295c98b3abb2.tar.xz systemtap-steved-e97bcaa1e868db40b90d63a9ff58295c98b3abb2.zip |
none
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/thirteen.stp | 6 | ||||
-rwxr-xr-x | testsuite/semok/seventeen.stp | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/buildok/thirteen.stp b/testsuite/buildok/thirteen.stp new file mode 100755 index 00000000..1113913e --- /dev/null +++ b/testsuite/buildok/thirteen.stp @@ -0,0 +1,6 @@ +#! stap -p4 + +probe kernel.function("sys_read") +{ + log ("count=" . string($count)) +} diff --git a/testsuite/semok/seventeen.stp b/testsuite/semok/seventeen.stp index 4ea03927..dcb26952 100755 --- a/testsuite/semok/seventeen.stp +++ b/testsuite/semok/seventeen.stp @@ -5,6 +5,7 @@ probe kernel.function("pipe_writev") { a = $nr_segs foo [a] = 1 - # $nr_segs is not an lvalue here + # $nr_segs is not an lvalue here (foo is), so this should compile + # even in non-guru mode foo [$nr_segs] ++ } |