From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11767 invoked by alias); 19 Dec 2008 19:54:21 -0000 Received: (qmail 11759 invoked by uid 22791); 19 Dec 2008 19:54:20 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Dec 2008 19:53:42 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBJJrbkt019945; Fri, 19 Dec 2008 14:53:37 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBJJraZm027991; Fri, 19 Dec 2008 14:53:36 -0500 Received: from localhost.localdomain (dhcp231-126.rdu.redhat.com [10.11.231.126]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBJJrZhs015095; Fri, 19 Dec 2008 14:53:35 -0500 Message-ID: <494BFBBF.3090804@redhat.com> Date: Fri, 19 Dec 2008 23:51:00 -0000 From: William Cohen User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: KOSAKI Motohiro , Satoshi OSHIMA , systemtap@sourceware.org, mhiramat@redhat.com, hisashi.hashimoto.wh@hitachi.com, Yumiko SUGITA Subject: Re: Discussion at Linux Foundation Japan Symposium References: <494A053D.4030808@hitachi.com> <20081219085519.041D.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20081219004423.GB24081@redhat.com> In-Reply-To: <20081219004423.GB24081@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 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: 2008-q4/txt/msg00618.txt.bz2 Frank Ch. Eigler wrote: > Hi - > > On Fri, Dec 19, 2008 at 08:58:58AM +0900, KOSAKI Motohiro wrote: >>>> Systemtap always requires kernel debuginfo to use. Unfortunately, >>>> it is hard for users of some distributions to have debuginfo. >>> Those distributions ought to be lobbied to improve this situation, >>> since there are many non-systemtap uses of debugging data - such as >>> debuggers, kernel- and user-space crash dump analysis tools. >> [...] >> In enterprise usage, crash dump analysis is provided by vendor. >> but tapset run on customer. [...] > > That is just one scenario. Another compelling use for debuginfo is a > tool like oprofile. > > - FChE For the case where oprofile data is being mapped back to lines in the source code debuginfo is needed. However, for the case just want to know which functions the code is spending time in oprofile doesn't use debugging information produced by -g; it just looks for the function locations in the code. Unfortunately, the strip operations used for binaries in distribution strip out all information from the binary leaving just the minimal executable bits, making the debuginfo the only place to get that information. It would be nice if there was something between the extremes of a huge amount of information in the debuginfo or nothing at all. -Will