This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Discussion at Linux Foundation Japan Symposium
- From: "Jun Koi" <junkoi2004 at gmail dot com>
- To: "KOSAKI Motohiro" <kosaki dot motohiro at jp dot fujitsu dot com>
- Cc: "Satoshi OSHIMA" <satoshi dot oshima dot fk at hitachi dot com>, systemtap at sourceware dot org, mhiramat at redhat dot com, hisashi dot hashimoto dot wh at hitachi dot com, "Yumiko SUGITA" <yumiko dot sugita dot yf at hitachi dot com>
- Date: Thu, 18 Dec 2008 18:34:42 +0900
- Subject: Re: Discussion at Linux Foundation Japan Symposium
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PjZVOPmg6z05F0LuVqnzAo9ntTCFJsS2gToMHg9Gfgg=; b=fKTayBJZ8KnCQM+LCiByVgP2FfFOUWuhYMP0NQ5QNXyefCrvhCENVchuJgquZ3lUn9 3AXry5yziX/EreBLvRA7dH1evlu+2AAh9AeyawXnWWNObM9AyHZ/PSc+jS3q7TUh2Q+n FvUx2q3q99dOu+lUgBjVsJkonLNYF4Yx1BJrc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mzSM3tGv4jxfKQP0DjRd2FMlo5xLJU2223FGwi0iLqVaT8NQlkDVVHEAQP8B03ZfEM ZRuVBRCGTk4P/YdwKea0zeXchYxNeAyEMHp/ALpiwhd7IpzIym1YBy4Q0+CV9vzrRyl5 SaLztCVHVVCE1/NC9vTKAMn5Fzx2pPDattrBM=
- References: <494A053D.4030808@hitachi.com> <fdaac4d50812180057q35b2303djc12dc06ff470bec2@mail.gmail.com> <20081218181653.97C0.KOSAKI.MOTOHIRO@jp.fujitsu.com>
On Thu, Dec 18, 2008 at 6:27 PM, KOSAKI Motohiro
<kosaki.motohiro@jp.fujitsu.com> wrote:
>> > (3) Make no debuginfo version
>> >
>> > Systemtap always requires kernel debuginfo to use.
>> > Unfortunately, it is hard for users of some distributions
>> > to have debuginfo.
>> >
>>
>> How is it possible to do that without kernel debug info? Currently
>> systemtap extracts lots of information on kernel layout from debug
>> info, so I dont understand why we can survive without that.
>
> At least, dtrace don't need debuginfo.
> On Solaris 10, kernel and all executable binary have own tracing purpose
> information in special elf section.
> it can't be stripped and gurantee exist although product application binary.
>
> http://blogs.sun.com/ali/entry/what_is_sunw_ldynsym
>
>
> Of cource, this approach indicate systemtap lost some feature.
> (e.g. above section don't have line number information and local
> variable name information)
>
> but it is still useful for average tracing user.
So the way is to include, by default, debug information we need into
kernel binary? Yes, that solves the problem, provided that they
(kernel developers) accept that.
Thanks,
Jun