summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-21 11:47:52 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-21 11:47:52 -0400
commit63baaffd1036817f39063a6a0d4b6bb8478bb4f5 (patch)
tree5ae49c2e1f92b835b67fa34134012cc37d728da1 /testsuite/systemtap.maps
parent8fa48434a2fa7cd0302ed5d45d0cf5506796d9f9 (diff)
downloadsystemtap-steved-63baaffd1036817f39063a6a0d4b6bb8478bb4f5.tar.gz
systemtap-steved-63baaffd1036817f39063a6a0d4b6bb8478bb4f5.tar.xz
systemtap-steved-63baaffd1036817f39063a6a0d4b6bb8478bb4f5.zip
PR6538: explain why absentstats.stp logs will contain warnings
Diffstat (limited to 'testsuite/systemtap.maps')
-rw-r--r--testsuite/systemtap.maps/absentstats.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.maps/absentstats.stp b/testsuite/systemtap.maps/absentstats.stp
index aeb176a1..0968cd58 100644
--- a/testsuite/systemtap.maps/absentstats.stp
+++ b/testsuite/systemtap.maps/absentstats.stp
@@ -1,5 +1,9 @@
# stap -DMAXERRORS=40
+# NB: PR 6538 will cause systemtap to warn about the read-only globals;
+# we can't help that though since the point of this test is to see what
+# happens when an empty (never written-to) aggregate is queried.
+
global sc
probe begin { println(@count(sc)) }
probe begin { print(@sum(sc)) }