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: Resolving Module Functions


David Frascone <dave@frascone.com> writes:

> I'm getting weird errors when I try to resolve module functions -- and
> I'm not sure why.  [...]
> I'm attaching my ststemtap script.  Here is the output from running [...]

I think the clue is here:

> focused on module 'my_driver =3D [0x10000-0x87c20, bias 0x0] file
> /lib/modules/2.6.27-11-generic/extras/my_driver-driver.ko ELF machine
> |x86_64 (code 62)
> focused on module 'my_driver'
> WARNING: cannot find module my_driver debuginfo: No such file or directory
> focused on module 'my_driver =3D [0xc4b3700-0xc52b320, bias 0x0] file
> /lib/modules/2.6.27-11-generic/drivers/my-driver.ko ELF machine
> |x86_64 (code 62)
> focused on module 'my_driver'
> WARNING: cannot find module my_driver debuginfo: No such file or directory
> [...]

It is as if the .ko files were built without debugging data.
What does "readelf -S FOO.ko" say about .debug* sections?


- FChE


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