public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Location of modules with debug info
@ 2009-09-28 10:00 Roberto Jung Drebes
  2009-09-28 14:43 ` Frank Ch. Eigler
  0 siblings, 1 reply; 6+ messages in thread
From: Roberto Jung Drebes @ 2009-09-28 10:00 UTC (permalink / raw)
  To: systemtap


Hello there,

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. I also made a symbolic link for the vmlinux at /boot:

[root@rerun modules]# ls -l /boot/vmlinux
lrwxrwxrwx 1 root root 45 2009-09-28 16:28 /boot/vmlinux -> /usr/lib/ 
debug/boot/vmlinux-2.6.28-15-generic

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())
}
probe module("snd").function("*").return {
	printf ("%s -> %s\n", thread_indent(-1), probefunc())
}

But when I try to run it, it complains that it can't find the debug  
info for the snd.ko module:

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

When running it with the --vp 03 option, I see that it's trying to use  
the modules at /lib/modules/2.6.28-15-generic (which are the system  
modules), not the debug ones in (/usr/lib/debug/lib/modules/2.6.28-15- 
generic).

How can I indicate the location of the debug modules?

Thanks in advance,

-- 
Roberto Jung Drebes - Tokyo, Japan
<drebes@gmail.com>
http://japao.drebes.org/







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-28 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-28 10:00 Location of modules with debug info Roberto Jung Drebes
2009-09-28 14:43 ` Frank Ch. Eigler
2009-09-28 14:53   ` Roberto Jung Drebes
2009-09-28 15:54     ` Frank Ch. Eigler
2009-09-28 17:25       ` Roberto Jung Drebes
2009-09-28 17:35         ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).