diff options
author | hunt <hunt> | 2005-12-15 05:46:07 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-12-15 05:46:07 +0000 |
commit | 36e17158ed72646a126c5494e765c704e120f18a (patch) | |
tree | c1254a96dc46e5ce0067f44200f55342969ef359 /testsuite/buildok | |
parent | a6a5d6aa091fdd40f74a220bb81d2d25ac5bcddf (diff) | |
download | systemtap-steved-36e17158ed72646a126c5494e765c704e120f18a.tar.gz systemtap-steved-36e17158ed72646a126c5494e765c704e120f18a.tar.xz systemtap-steved-36e17158ed72646a126c5494e765c704e120f18a.zip |
*** empty log message ***
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/pmap_foreach.stp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/testsuite/buildok/pmap_foreach.stp b/testsuite/buildok/pmap_foreach.stp deleted file mode 100755 index 8cc8decd..00000000 --- a/testsuite/buildok/pmap_foreach.stp +++ /dev/null @@ -1,22 +0,0 @@ -#! stap -p4 - -global foo - - -probe begin { - for (i=0;i<10;i+=2) { - foo[1] <<< i - foo[2] <<< i*i - foo[3] <<< i*i*i - } - foo[3] <<< 4*4*4 - exit() -} - -probe end { - for (i=1;i<4;i++) - printf("count of foo[%d] = %d\n", i, @count(foo[i])) - - foreach (i in foo) - printf("count of foo[%d] = %d\n", i, @count(foo[i])) -} |