[Bug translator/10622] unsuccessful location searches for extern $variables
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Sep 9 21:50:00 GMT 2009
------- 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.
More information about the Systemtap
mailing list