]> sourceware.org Git - systemtap.git/commitdiff
PR6538: explain why absentstats.stp logs will contain warnings
authorFrank Ch. Eigler <fche@elastic.org>
Wed, 21 May 2008 15:47:52 +0000 (11:47 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 21 May 2008 15:47:52 +0000 (11:47 -0400)
testsuite/systemtap.maps/absentstats.stp

index aeb176a1ffe979cdd03a66039f34ac4cd653f0fa..0968cd583f409c74fe53e5dd8b3d1a2fab8e5111 100644 (file)
@@ -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)) }
This page took 0.027882 seconds and 5 git commands to generate.