From: Frank Ch. Eigler Date: Wed, 21 May 2008 15:47:52 +0000 (-0400) Subject: PR6538: explain why absentstats.stp logs will contain warnings X-Git-Tag: release-0.7-rc1~142 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=63baaffd1036817f39063a6a0d4b6bb8478bb4f5;p=systemtap.git PR6538: explain why absentstats.stp logs will contain warnings --- diff --git a/testsuite/systemtap.maps/absentstats.stp b/testsuite/systemtap.maps/absentstats.stp index aeb176a1f..0968cd583 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)) }