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: problem in probing tcp !!


On Fri, Mar 16, 2012 at 04:26:07PM +0800, ch huang wrote:
> i try probing tcp use following script,but get error ,this OS  on our
> production host,so i miss something?
> 
> # rpm -qa|grep kernel
> kernel-devel-2.6.18-92.el5
> kernel-xen-2.6.18-92.el5
> kernel-debuginfo-2.6.18-92.el5
> kernel-xen-devel-2.6.18-92.el5
> kernel-headers-2.6.18-92.el5
> kernel-debuginfo-common-2.6.18-92.el5
> 
> 
> # cat test.stp
> probe tcp.recvmsg {
>         printf("%s: socket %d, size %d\n",execname(),sock,size)
> }
> 
> 
> # stap test.stp
> semantic error: missing x86_64 kernel/module debuginfo under
> '/lib/modules/2.6.18-92.el5xen/build' while resolving probe point
> kernel.function("tcp_recvmsg")
> semantic error: no match while resolving probe point tcp.recvmsg
> Pass 2: analysis failed.  Try again with another '--vp 01' option.

You are missing the kernel-xen-debuginfo package.
Normally running stap-prep should install all necessary packages
for you on an rpm based system.

Cheers,

Mark


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