This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to create kernel-debuginfo
- From: "sunzen w." <sunzen at gmail dot com>
- To: systemtap at sources dot redhat dot com
- Cc: "Li Guanglei" <guanglei at cn dot ibm dot com>
- Date: Wed, 30 Aug 2006 10:10:46 +0800
- Subject: Re: How to create kernel-debuginfo
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z8Eialp48cFei9AO7XO2ySNU62f1Vh8LtJZn7vozgwkriJRAb3uY1H21V4aRWmkn20v+W5xPgwWC4F9sVx6vHi6fZRAGPD7jkkQgijeNbj8HY7ahY+mC7vKn3HPCax73nKYWBMfGHtHR3yr3HukSinmyU1jeEXxbwHJZrShX4GI=
- References: <da1db2080608272035ha2b38ddn14d54a3c0e2b6137@mail.gmail.com>
I think the following steps are complete.
1. Config the kernel with the following options enabled.
CONFIG_DEBUG_INFO,
(and other options for supporting Kprobe)
2. make && make install modules_install
3. link the output stuffs embedded with debuginfo to suitable positions
ln -s /PathToBuildDir/vmlinux /boot/vmlinux-`uname -r`
ln -s /lib/modules/`uname -r` /usr/lib/debug/lib/modules/`uname -r`
So, I think REAMDE of Sytemtap should be more clarifed.
On 8/28/06, sunzen w. <sunzen@gmail.com> wrote:
hi,
I'm trying systemtap-snapshot-20060826 on Linux 2.6.18-rc3.
The current problem for me is how to get the kernel-debuginfo for
Linux 2.6.18-rc3. I searched the network , but found no results ,
neither got any tips about creating a kernel-debuginfo by oneself.
Could anyone give me some guides about it? Any commit is appreciated.
Best regards.
--
sunzen
<<freedom & enjoyment>>
--
sunzen
<<freedom & enjoyment>>