This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RedHat magazine code
- From: "Shaw, Marco" <Marco dot Shaw at aliant dot ca>
- To: "SystemTAP" <systemtap at sources dot redhat dot com>
- Date: Tue, 11 Oct 2005 15:48:08 -0300
- Subject: RedHat magazine code
**Newbie alert**
Should the 'example 1' sample code here work on RHEL4U2?
http://www.redhat.com/magazine/011sep05/features/systemtap/
Here's what I get:
[root]# stap kprobebio.stp
semantic error: no match for probe point
while: resolving probe point
kernel.function("generic_make_request")
Pass 2: analysis failed. Try again with '-v' (verbose) option.
[root]# stap -v kprobebio.stp
Created temporary directory "/tmp/stapggt4Tp"
Searched '/usr/share/systemtap/tapset/2.6.9-22.EL/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.9/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/*.stp', match count 4
Pass 1: parsed user script and 4 library script(s).
parsed 'generic_make_request' -> func 'generic_make_request'
semantic error: no match for probe point
while: resolving probe point
kernel.function("generic_make_request")
Pass 2: analyzed user script. 2 probe(s), 10 function(s), 1 global(s).
Pass 2: analysis failed. Try again with '-v' (verbose) option.
Running /bin/rm -rf /tmp/stapggt4Tp
I've just installed kernel-debuginfo, which I thought was originally the
problem.
Marco