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: Location of modules with debug info


Roberto Jung Drebes <drebes@gmail.com> writes:

> [...]
> I'm trying to run a simple probe in Ununtu 9.04. I already installed
> the linux-image-debug package with the debug information, so I do have
> the vmlinux and modules with debug info on /usr/lib/debug/lib/modules/
> 2.6.28-15-generic. [...]

Where did you get that one?  It doesn't appear to be in the standard
9.04 repositories.
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/289087)


> The probe I want to run just prints a message on every function entry
> and exit of a kernel module:
>
> probe module("snd").function("*") {
> 	printf ("%s -> %s\n", thread_indent(1), probefunc())
> }

(You will want to add a ".call" at the end of that probe point.)

> probe module("snd").function("*").return {
> 	printf ("%s -> %s\n", thread_indent(-1), probefunc())
> }

Right.

> WARNING: cannot find module snd debuginfo: No such file or directory
> semantic error: no match while resolving probe point module
> ("snd").function("*") [...]

I seem to recall that older linux-image-debug widgets from ubuntu
contained only vmlinux and not any module data.  If that's true for
your package too, this would explain the above error.


- FChE


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