This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Where does systemtap look for debuginfo and sources ?
- From: "A, Satheeshpaul (EXT-Other - IN/Bangalore)" <satheeshpaul dot a dot ext at nsn dot com>
- To: <systemtap at sources dot redhat dot com>
- Date: Tue, 13 Apr 2010 14:04:39 +0800
- Subject: Where does systemtap look for debuginfo and sources ?
Hi,
I am having trouble in probing a module that did not come with the RHEL
5.4 distribution. I have installed the kernel-debuginfo & kernel-devel
packages. The kernel-debuginfo packages puts the debug-build modules
under "/usr/lib/debug/lib/modules/2.6.18-164.el5/kernel/" . I have
copied my module (built with -g and no optimisation) in this location. I
also copied the sources of this module under
"/usr/src/debug/kernel-2.6.18/linux-2.6.18.x86_64/net". But systemtap is
still not able to find the probe point.
Below is the probe that fails to build.
probe module("quicksec").function("ssh_interceptor_init")
{
printf("---%s----\n", pp( ));
}
Error:
semantic error: no match while resolving probe point
module("quicksec").function("ssh_interceptor_init")
semantic error: no probes found
I am sure I am not placing the debug-build module or the sources in the
correct location for systemtap to pick. But I could not see any
documentation on this.
Can anyone help?
With Regards,
Satheesh.