This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Unresolved probes
- From: Steve Dickson <SteveD at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 09 Mar 2010 08:11:00 -0500
- Subject: Unresolved probes
Hello,
I'm working the testsuite/buildok/nfs* and testsuite/buildok/rpc*
scripts and I'm running across a somewhat familiar problem where
certain routines are not resolvable.
Using a "normal" 2.6.34 kernel I get the following errors:
$ sudo ./run-stap -wp4 testsuite/buildok/rpc-all-probes.stp
semantic error: no match while resolving probe point module("sunrpc").function("rpc_new_client").return
semantic error: no match while resolving probe point sunrpc.clnt.create_client.return
semantic error: no match while resolving probe point module("sunrpc").function("rpc_release_task").return
semantic error: no match while resolving probe point sunrpc.sched.release_task.return
Pass 2: analysis failed. Try again with another '--vp 01' option.
Now when I use a 2.6.34 kernel compiled with the '-fno-inline-functions-called-once'
flag (which turns off inline-ing when routines are called from only one place)
the run-tap does not fail. And sure enough, both rpc_new_client() and
rpc_release_task() are only called from one place.
So is there a work-around for this or should I just post the minor
changes I have and move on?
steved.