From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932780AbWAKC1J (ORCPT ); Tue, 10 Jan 2006 21:27:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932781AbWAKC1J (ORCPT ); Tue, 10 Jan 2006 21:27:09 -0500 Received: from mx1.redhat.com ([66.187.233.31]:15056 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S932780AbWAKC1H (ORCPT ); Tue, 10 Jan 2006 21:27:07 -0500 To: Keshavamurthy Anil S Cc: Keith Owens , "Randy.Dunlap" , Paulo Marques , Linux Kernel , akpm@osdl.org, tony.luck@intel.com, Systemtap , Jim Keniston Subject: Re: [patch 1/2] [BUG]kallsyms_lookup_name should return the text addres References: <20396.1136939008@ocs3.ocs.com.au> <20060110163956.A17329@unix-os.sc.intel.com> From: fche@redhat.com (Frank Ch. Eigler) Date: 10 Jan 2006 21:26:37 -0500 In-Reply-To: <20060110163956.A17329@unix-os.sc.intel.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org anil.s.keshavamurthy@intel.com writes: > [...] Humm..This duplication of symbols in the kernel will be a > problem for systemtap scripts, as we might end up putting probes in > the unwanted places :-( [...] Not at all. Systemtap does not look in System.map. It can qualify function names with the compilation unit name to make unique the probe target. For that matter, it only uses /proc/kallsyms as a table to drive the address-to-name mappings in debug output. - FChE