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]

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.


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