This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10622] unsuccessful location searches for extern $variables
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 9 Sep 2009 21:49:28 -0000
- Subject: [Bug translator/10622] unsuccessful location searches for extern $variables
- References: <20090909213751.10622.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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 <input>: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.