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:36:52 +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=96JQNGjnfZe6HlC7N9TAwX/ys9QBxuyOGrHGecb3uDI=; b=Cb3YrFO1RpqZnE3ildoRI9ttotdtPmi9rn2bc0Z6cEOJGNj7itNhUbyx+zSDj4HEfK jLvo/RTpvWBn/iN53fNpeORt6p8ardZ4wst8gaa879QnIcPmnzr0tJyBiemNhvkerJyM SAtrjCZdw43hDPIvIqwfn/Van9as8ktjcKXVw=
- 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=kD/osCb36kZf/TfGMgggX+hY7kM1Cwl0ri1U8lwfTO4xZu4iN2S9VyqU0RlSVvjBrZ uwdF+r9O0+GOFrO0tDImZ997+Ngle3O+kK2Xp9oV/Hg6lOIyY4rV+bt6MyGFijOoAGAG 8ADA3lKBhgYlTMgcswJ2eMd10rakd4ZFwYRRw=
- References: <494A053D.4030808@hitachi.com> <fdaac4d50812180057q35b2303djc12dc06ff470bec2@mail.gmail.com> <20081218181653.97C0.KOSAKI.MOTOHIRO@jp.fujitsu.com> <fdaac4d50812180134r4c6b1adcu751435c6038af536@mail.gmail.com>
On Thu, Dec 18, 2008 at 6:34 PM, Jun Koi <junkoi2004@gmail.com> wrote:
> 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.
>
The downside is that the kernel binary becomes much much bigger.
Thanks,
Jun
>