From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19595 invoked by alias); 2 Jan 2009 22:30:25 -0000 Received: (qmail 19587 invoked by uid 22791); 2 Jan 2009 22:30:24 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from extu-mxob-2.symantec.com (HELO extu-mxob-2.symantec.com) (216.10.194.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jan 2009 22:29:33 +0000 Received: from tus1opsmtapin02.ges.symantec.com (tus1opsmtapin02.ges.symantec.com [192.168.214.44]) by extu-mxob-2.symantec.com (8.14.1/8.14.1) with ESMTP id n02MTDdH013705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2009 14:29:13 -0800 Received: from reserved-155-64-230-20.ges.symantec.com ([155.64.230.20] helo=TUS1XCHECNPIN03.enterprise.veritas.com) by tus1opsmtapin02.ges.symantec.com with esmtp (Exim 4.67) (envelope-from ) id 1LIsW1-0000wi-MQ; Fri, 02 Jan 2009 14:29:13 -0800 Received: from TUS1XCHEVSPIN05.enterprise.veritas.com ([155.64.231.27]) by TUS1XCHECNPIN03.enterprise.veritas.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 2 Jan 2009 15:29:13 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: question regarding accessing a target variable Date: Fri, 02 Jan 2009 22:30:00 -0000 Message-ID: <1A193CCB5218B14589B1979BC7D510E007AE9F26@TUS1XCHCLUPIN11.enterprise.veritas.com> In-Reply-To: <20081107020842.GG20928@redhat.com> References: <20217654.post@talk.nabble.com> <1A193CCB5218B14589B1979BC7D510E006F0EB1E@TUS1XCHCLUPIN11.enterprise.veritas.com> <20081029201826.GC16968@redhat.com> <1A193CCB5218B14589B1979BC7D510E006F0ECBC@TUS1XCHCLUPIN11.enterprise.veritas.com> <1A193CCB5218B14589B1979BC7D510E007077719@TUS1XCHCLUPIN11.enterprise.veritas.com> <20081104152629.GB28139@redhat.com> <1A193CCB5218B14589B1979BC7D510E0070F51F0@TUS1XCHCLUPIN12.enterprise.veritas.com> <20081107020842.GG20928@redhat.com> From: "Kai Wong" To: Cc: "Frank Ch. Eigler" Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00004.txt.bz2 Hi, I try to access a target variable (e.g., block, which is a c local variable within a probed function), but no matter what line number I place the probe within the function (e.g., probe module("vxglm").statement("vxg_recv_block_grant@/home2/kwong/glm-bld/50m p3_clustrace/kernel/glm/smp/glmbpxy.c:67")), I get the following message: semantic error: not accessible at this address: identifier '$block' at /usr/share/systemtap/tapset/glm/msgsup.stp:20:123 that target variable was actually assigned a valid value and referenced in many different lines within the probed function. I have no trouble with other target variables that are c local variables. What can I do to make a c local variable more accessible to systemtap as a target variable? Kai=20