From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11212 invoked by alias); 4 Nov 2010 18:57:52 -0000 Received: (qmail 11205 invoked by uid 22791); 4 Nov 2010 18:57:52 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Nov 2010 18:57:48 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA4Ivkc6027158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Nov 2010 14:57:46 -0400 Received: from [10.11.231.159] (dhcp231-159.rdu.redhat.com [10.11.231.159]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oA4IvjEe010654 for ; Thu, 4 Nov 2010 14:57:46 -0400 Message-ID: <4CD3028E.4040509@redhat.com> Date: Thu, 04 Nov 2010 18:57:00 -0000 From: Stan Cox User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2 MIME-Version: 1.0 To: systemtap@sourceware.org Subject: Re: proposed patch for SW9937 References: <4CCF24A9.9050700@redhat.com> In-Reply-To: <4CCF24A9.9050700@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2010-q4/txt/msg00177.txt.bz2 Tweaked the previous to eliminate .module_base and output build_id_offset as follows: @@ -5376,9 +5379,10 @@ dump_unwindsyms (Dwfl_Module *m, if (modname == "kernel") c->output << ".build_id_offset = 0x" << hex << build_id_vaddr - (base + extra_offset) << dec << ",\n"; + // ET_DYN: task finder gives the load address. ET_EXEC: this is absolute address else c->output << ".build_id_offset = 0x" << hex - << build_id_vaddr - base + << build_id_vaddr /* - base */ << dec << ",\n"; } else c->output << ".build_id_len = 0,\n"; for ET_EXEC we get e.g. 0x40024c for ET_DYN we get e.g. 0x1a0 for kernel we get e.g. 0x430544