This is the mail archive of the 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: NFS probes with redhat 4 update 3/4


After I install kernel-debuginfo rpm, it works like a charm. 

John Liang

-----Original Message-----
From: []
On Behalf Of David Smith
Sent: Friday, March 09, 2007 11:42 AM
To: John Liang
Subject: Re: NFS probes with redhat 4 update 3/4

John Liang wrote:
> [root@ nfs]# stap -p2 -e 'probe module("nfs").function("*") {}' | sort |
> uniq
> semantic error: cannot find module nfs debuginfo: No DWARF information
> semantic error: no match for probe point
>          while: resolving probe point module("nfs").function("*")
> Pass 2: analysis failed.  Try again with '-v' (verbose) option.
> Any comments?

On FC6 (kernel 2.6.19-1.2911.fc6), here's what I get:

#  stap -p2 -v -e 'probe module("nfs").function("*") { }' | grep -v 
'[{}]' | wc -l
Pass 1: parsed user script and 54 library script(s) in 
680usr/30sys/716real ms.
Pass 2: analyzed script: 638 probe(s), 0 function(s), 0 embed(s), 0 
global(s) in 260usr/210sys/481real ms.

So, systemtap sees 638 (1 line is '# probes') different functions in the 
nfs module.  On FC6, you need to have the following kernel debug 
information installed for the above to work:


It looks like either the debug information for the module isn't 
installed or systemtap can't find it.

David Smith
Red Hat
256.217.0141 (direct)
256.837.0057 (fax)

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