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


Hi -

> > It is as if the .ko files were built without debugging data.
> > What does "readelf -S FOO.ko" say about .debug* sections?
> 
> I see no debug sections . . . are they there by default?  Or, is a
> special flag needed to make them?

If you don't have CONFIG_DEBUG_INFO=y, you can add EXTRA_CFLAGS := -g
or somesuch to your module makefile.

- FChE


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