From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1358 invoked by alias); 1 Jul 2008 10:15:59 -0000 Received: (qmail 1336 invoked by uid 22791); 1 Jul 2008 10:15:57 -0000 X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from www.church-of-our-saviour.org (HELO thunker.thunk.org) (69.25.196.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Jul 2008 10:15:23 +0000 Received: from root (helo=closure.thunk.org) by thunker.thunk.org with local-esmtp (Exim 4.50 #1 (Debian)) id 1KDctA-0007fa-DO; Tue, 01 Jul 2008 06:15:08 -0400 Received: from tytso by closure.thunk.org with local (Exim 4.69) (envelope-from ) id 1KDct9-0006jZ-Qu; Tue, 01 Jul 2008 06:15:07 -0400 Date: Tue, 01 Jul 2008 10:15:00 -0000 From: Theodore Tso To: Roland McGrath Cc: "Frank Ch. Eigler" , ksummit-2008-discuss@lists.linux-foundation.org, systemtap@sources.redhat.com Bcc: tytso@mit.edu Subject: Re: [Ksummit-2008-discuss] DTrace Message-ID: <20080701101507.GB22717@mit.edu> References: <20080630010423.GA7068@redhat.com> <20080630181959.GA7988@mit.edu> <20080630192533.GE21660@redhat.com> <20080630201031.GF7988@mit.edu> <20080630204219.GA6631@redhat.com> <20080701024140.GB28143@mit.edu> <20080701070746.C6DAD15420E@magilla.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080701070746.C6DAD15420E@magilla.localdomain> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false 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: 2008-q3/txt/msg00009.txt.bz2 On Tue, Jul 01, 2008 at 12:07:46AM -0700, Roland McGrath wrote: > In rpm-based distros, this is done automagically in rpmbuild and driven by > magic macros and shell scripts. I had the impression Debian also did > parallel -debuginfo packages of the same sort, so I presume some scripts > using either objcopy/strip or eu-strip are buried in that build magic too. Debian doesn't have -debuginfo packages, hence my request to get a pointer at the magic shell script to do the separation. To the extent that Systemtap will be used by more people (and hence grow its tapset collection more quickly) it would be useful if more distributions could figure out how to deal with the -debuginfo information in a more sane fashion (where quadroupling or so the space needed in /boot for each kernel is often not practical :-). I've pulled apart RHEL's rpm macro magic before, and it's not a pleasant wading through all of the files; maybe we can teach the native kernel build infrastructure how to create debuginfo files so that each distribution doesn't have to re-invent the wheel from scratch, but rather can reuse common infrastructure in Kbuild.... - Ted