This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [BUG?] semantic error: failed to retrieve location attribute for local
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Jan Blunck <jblunck at suse dot de>
- Cc: systemtap at sources dot redhat dot com
- Date: 04 Dec 2006 11:17:43 -0500
- Subject: Re: [BUG?] semantic error: failed to retrieve location attribute for local
- References: <20061204115635.GB10309@hasse.suse.de>
Jan Blunck <jblunck@suse.de> writes:
> I have the following simple probe:
> probe kernel.inline("real_lookup")
> {
> printf("%s - %s(%s): %s\n", thread_indent(0), probefunc(),
> kernel_string($parent->d_name->name),
> kernel_string($name->name))
> }
Welcome to the list!
> The full error message is as follows:
> [...]
> querying entrypc c0170197 of instance of inline 'real_lookup'
> probe real_lookup@fs/namei.c:447 kernel section=.text pc=0xc0170197
> finding location for local 'parent' near address c0170197, module bias 0
> finding location for local 'name' near address c0170197, module bias 0
> [...]
> semantic error: failed to retrieve location attribute for local 'name'
> (dieoffset: 85127198053): identifier '$name' at real_lookup.stp:9:20
> [...]
> Is this a bug?
Problems such as this tend to be limitations of gcc debugging
information quality. One frequently-hit bug is that few actual
parameters get proper debugging information emitted, even if they are
used by the inlined function body.
- FChE