summaryrefslogtreecommitdiffstats
path: root/testsuite/buildko/two.stp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-05-21 16:57:04 -0500
committerDavid Smith <dsmith@redhat.com>2009-05-21 16:57:04 -0500
commitc8e9eb18d8d13d099a4a177fe53de507c1d9ce8b (patch)
treeab2388afb795ed1a7ead2fbbf8b9d1b368a8231f /testsuite/buildko/two.stp
parentdd9a3bcbef65bde65491d959e9458bc641924811 (diff)
parent3863e7999255deeaa7f8f4bba7df893773812537 (diff)
downloadsystemtap-steved-c8e9eb18d8d13d099a4a177fe53de507c1d9ce8b.tar.gz
systemtap-steved-c8e9eb18d8d13d099a4a177fe53de507c1d9ce8b.tar.xz
systemtap-steved-c8e9eb18d8d13d099a4a177fe53de507c1d9ce8b.zip
Merge commit 'origin/master' into pr7043
Conflicts: runtime/print.c runtime/transport/transport.c runtime/transport/transport_msgs.h
Diffstat (limited to 'testsuite/buildko/two.stp')
-rwxr-xr-xtestsuite/buildko/two.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/buildko/two.stp b/testsuite/buildko/two.stp
new file mode 100755
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;
+}