From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3212 invoked by alias); 9 Sep 2009 21:50:28 -0000 Received: (qmail 2141 invoked by uid 48); 9 Sep 2009 21:49:28 -0000 Date: Wed, 09 Sep 2009 21:50:00 -0000 Message-ID: <20090909214928.2140.qmail@sourceware.org> From: "mjw at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090909213751.10622.fche@redhat.com> References: <20090909213751.10622.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/10622] unsuccessful location searches for extern $variables X-Bugzilla-Reason: AssignedTo 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-q3/txt/msg00642.txt.bz2 ------- Additional Comments From mjw at redhat dot com 2009-09-09 21:49 ------- $ stap -e 'probe kernel.function("do_gettimeofday") { printf("xtime.tv_sec: %d\n", $xtime->tv_sec); }' semantic error: failed to retrieve location attribute for local 'xtime' (dieoffset: 0x752637): identifier '$xtime' at :1:73 source: probe kernel.function("do_gettimeofday") { printf("xtime.tv_sec: %d\n", $xtime->tv_sec); } ^ Pass 2: analysis failed. Try again with another '--vp 01' option. $ eu-readelf -N --debug-dump=info /usr/lib/debug/lib/modules/2.6.30.5-43.fc11.i586/vmlinux [752637] variable name "xtime" decl_file 3 decl_line 100 type [74c7b3] external declaration So no location description in this CU. We need to look it up in the symbol table. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10622 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.