From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1124 invoked by alias); 16 Mar 2006 03:14:18 -0000 Received: (qmail 1117 invoked by uid 22791); 16 Mar 2006 03:14:18 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS 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; Thu, 16 Mar 2006 03:14:17 +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 k2G3ECNX018940; Wed, 15 Mar 2006 22:14:12 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k2G3EC106684; Wed, 15 Mar 2006 22:14:12 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k2G3ECxX003800; Wed, 15 Mar 2006 22:14:12 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 02D2D8001FF; Wed, 15 Mar 2006 22:14:11 -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 k2G3EBRY023846; Wed, 15 Mar 2006 22:14:11 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k2G3EBSw023845; Wed, 15 Mar 2006 22:14:11 -0500 Date: Thu, 16 Mar 2006 03:14:00 -0000 From: "Frank Ch. Eigler" To: Michael Ellerman Cc: systemtap@sourceware.org Subject: Re: elfutils on Debian? Message-ID: <20060316031411.GI22198@redhat.com> References: <20060315143539.GO6930@redhat.com> <20060316030039.GH22198@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00808.txt.bz2 Hi - On Thu, Mar 16, 2006 at 02:06:13PM +1100, Michael Ellerman wrote: > [...] > I'm actually running a custom kernel, so where am I supposed to put > debug info? And what exactly do I need, a vmlinux built with -g ? Yes, for a hand-built kernel/modules, you need: CONFIG_DEBUG_INFO=y CONFIG_KPROBES=y And the resulting "vmlinux" file must be copied into one of the places elfutils searches for it: """ - systemtap looks for the debug info in these locations: /boot/vmlinux-`uname -r` /usr/lib/debug/lib/modules/`uname -r`/vmlinux /lib/modules/`uname -r`/vmlinux """ - FChE