This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
newbie question : compiling kernel and debug info.
- From: Om Narasimhan <Om dot Narasimhan at Sun dot COM>
- To: systemtap at sourceware dot org
- Date: Wed, 03 Sep 2008 13:29:59 -0700
- Subject: newbie question : compiling kernel and debug info.
- Organization: SUN Microsystems
When I started using systemtap, I had tried to compile my kernel and use
systemtap (binary -- came with fedora) on it. But I was not very
successful (I used to get a number of symbol mismatch/function not found
..etc errors) and finally I started using systemtap with Fedora kernel.
So far, it has worked fine.
$ stap -V
SystemTap translator/driver (version 0.6.2/0.127 built 2008-03-27)
Copyright (C) 2005-2008 Red Hat, Inc. and others
$ uname -a
Linux mophia.sfbay.sun.com 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:02:29
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Some questions on compiling custom kernels
1. Should I compile and replace my existing systemtap with a newer
version in order to use it for a custom-compiled kernel? (Is there any
relation between system tap binary and kernel on which it is used?)
2. How to compile modules with debuginfo?
Thanks,
Om.