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: Help needed


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


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