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: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Nov 2009 06:39:05 -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 wenji dot huang at oracle dot com 2009-11-12 06:39 -------
Guess it's related to gcc or fedora debuginfo.
On RHEL5 with self-built 2.6.32-rc6 kernel.
The latest stap works fine both with elfutils 0.141 and 0.142.
$ stap -e 'probe kernel.function("do_gettimeofday") { println($xtime) }'
semantic error: 'struct timespec' is being accessed instead of a member:
identifier '$xtime' at <input>:1:52
source: probe kernel.function("do_gettimeofday") { println($xtime) }
^
Pass 2: analysis failed. Try again with another '--vp 01' option.
Got different message, but seems stap can get location attribute.
$ stap -e 'probe kernel.function("do_gettimeofday") {
printf("xtime.tv_sec:%d\n", $xtime->tv_sec); exit() }'
xtime.tv_sec:1257921482
But failed on FC11, gcc 4.4. The error message like previous comment,
also as comment #11 of bug # 9738.
--
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.