This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elfutils on Debian?


Hi -

On Thu, Mar 16, 2006 at 02:06:13PM +1100, Michael Ellerman wrote:
> [...]
> I'm actually running a custom kernel, so where am I supposed to put
> debug info? And what exactly do I need, a vmlinux built with -g ?

Yes, for a hand-built kernel/modules, you need:
CONFIG_DEBUG_INFO=y
CONFIG_KPROBES=y

And the resulting "vmlinux" file must be copied into one of the places
elfutils searches for it:
"""
- systemtap looks for the debug info in these locations:
  /boot/vmlinux-`uname -r`
  /usr/lib/debug/lib/modules/`uname -r`/vmlinux
  /lib/modules/`uname -r`/vmlinux
"""

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]