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]

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


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