This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Location of modules with debug info
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Roberto Jung Drebes <drebes at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 28 Sep 2009 10:43:07 -0400
- Subject: Re: Location of modules with debug info
- References: <F5B5A734-E550-467E-BC85-C64F139B7977@gmail.com>
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