From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9478 invoked by alias); 4 Dec 2006 16:18:02 -0000 Received: (qmail 9465 invoked by uid 22791); 4 Dec 2006 16:18:00 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,TW_YP X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Dec 2006 16:17:51 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kB4GHnQH032442; Mon, 4 Dec 2006 11:17:50 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kB4GHiaK024853; Mon, 4 Dec 2006 11:17:44 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kB4GHiV1026659; Mon, 4 Dec 2006 11:17:44 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 04987800005; Mon, 4 Dec 2006 11:17:44 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id kB4GHhZU021575; Mon, 4 Dec 2006 11:17:43 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id kB4GHheM021572; Mon, 4 Dec 2006 11:17:43 -0500 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Jan Blunck Cc: systemtap@sources.redhat.com Subject: Re: [BUG?] semantic error: failed to retrieve location attribute for local References: <20061204115635.GB10309@hasse.suse.de> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 04 Dec 2006 16:27:00 -0000 In-Reply-To: <20061204115635.GB10309@hasse.suse.de> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2006-q4/txt/msg00588.txt.bz2 Jan Blunck 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