This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Help needed
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: David Wang <kernel at mecro dot ca>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 30 Oct 2009 10:40:50 -0400
- Subject: Re: Help needed
- References: <d754cf670910300730o27d1f9a1ve379d3b50e8815d5@mail.gmail.com>
Hi -
On Fri, Oct 30, 2009 at 07:30:15AM -0700, David Wang wrote:
> [...]
> I'm recently working on a kernel module using netlink and get some problems:
>
> 1. I don't know how to generate debuginfo for my new module in order to be
> able to probed by systemtap.
Chances are it's all in there already; "readelf -S FOO.ko" should include
some .debug* sections.
> [...]
> semantic error: missing i386 kernel/module debuginfo under
> '/lib/modules/2.6.30.9-90.
> fc11.i686.PAE/build' while resolving probe point
> module("<modulename>").function("*@path/module.c").call
> Pass 2: analysis failed. Try again with another '--vp 01' option.
We don't handle separately built/installed modules very well at the
moment. A hack that should works is to put a symlink under
/lib/modules/`uname -r`/kernel/SOMETHING to your custom .ko.
- FChE