diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-04-01 11:30:50 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-04-01 11:30:50 -0400 |
commit | 76eb4a5d7a17bd8c37a679590c55b94e200042d0 (patch) | |
tree | 17a34a587adde7312b99a73191193da62168ee71 /testsuite/buildko | |
parent | 6dfeb4e36f7339ddfafefcb69578e1b5809b6e72 (diff) | |
download | systemtap-steved-76eb4a5d7a17bd8c37a679590c55b94e200042d0.tar.gz systemtap-steved-76eb4a5d7a17bd8c37a679590c55b94e200042d0.tar.xz systemtap-steved-76eb4a5d7a17bd8c37a679590c55b94e200042d0.zip |
PR4105: support up to 9 (up from 5) array index dimensions
* runtime/map-gen.c, pmap-gen.c: Hand-expand arity 6..9 cases throughout.
* testsuite/buildok/thirty.stp: New test.
* testsuite/buildko/two.stp: New test.
An Alan Smithee patch.
Diffstat (limited to 'testsuite/buildko')
-rw-r--r-- | testsuite/buildko/two.stp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/buildko/two.stp b/testsuite/buildko/two.stp new file mode 100644 index 00000000..25350dc0 --- /dev/null +++ b/testsuite/buildko/two.stp @@ -0,0 +1,14 @@ +#! stap -p4 + +# tests overwide arrays +global a10 +global b10 +global c10 +global d10 + +probe begin { + a10[0,"a",0,"a",0,"a",0,"a",0,"a"]="a"; + b10["b",0,"b",0,"b",0,"b",0,"b",0]=0; + c10[0,"a",0,"a",0,"a",0,"a",0,"a"]<<<0; + d10["b",0,"b",0,"b",0,"b",0,"b",0]<<<0; +} |