Location of modules with debug info
Frank Ch. Eigler
fche@redhat.com
Mon Sep 28 14:43:00 GMT 2009
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
More information about the Systemtap
mailing list