support for install
Frank Ch. Eigler
fche@redhat.com
Thu Sep 15 13:35:00 GMT 2005
Hi -
> > Systemtap can pull debugging information out of a vanilla kernel
> > that's built/installed from its own Makefile (without rpm), as long as
> > CONFIG_DEBUG_INFO was set.
>
> Do I need special configuration for this to happen?
For a vanilla kernel, you should not need more than the
CONFIG_DEBUG_INFO option, which you see in the "Kernel hacking" /
"Kernel debugging" kernel config screens. The resulting /vmlinux file
should be tens of megabytes long. "objdump -h vmlinux" should show a
number of large ".debug*" sections. The same applies to kernel module
object files. (I assume your platform uses DWARF format debugging
information, which is a requirement for systemtap.)
> [...] I was not able to figure out how the kernel-debuginfo package
> is generated from the kernel source RPM (.spec file).
You mean from a Fedora kernel RPM? The debuginfo generation is step
is done as an implicit post-processing stage after %build. Unless
specifically disabled, it happens automatically when building any rpm
from its .src.rpm (rpmbuild).
- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050915/d29200d0/attachment.sig>
More information about the Systemtap
mailing list