Systemtap incompatible with ubuntu-18.04?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

Systemtap incompatible with ubuntu-18.04?

Bill Broadley


I've been using systemtap to track NFSd activity on several ubuntu-16.04
machines with no problems.

stap nfsd-trace.stp

I have a puppet module that installs systemtap and the kernel-debug info required.

I tried the same on ubuntu-18.04 (using the ubuntu provided systemtap):
 # /usr/bin/stap ./testsuite/systemtap.examples/network/nfsd-trace.stp
 semantic error: while processing probe
 /nfs4proc.c:735").call from: nfsd.proc4.lookup from: nfsd.proc.lookup from:
 nfsd.proc.entries from: nfsd.proc.entries

So I installed the current systemtap from git and:

root@foo:/share/apps/systemtap-2018-09-27# ./bin/stap
semantic error: while processing probe
from: from: from: nfsd.proc.entries from:

semantic error: failed to retrieve location attribute for 'read' [man
error::dwarf]: identifier '$read' at
        dieoffset: 0x1b87de from
        function: nfsd4_read at
        source: count = $read->rd_length
The kernel used is:

I installed linux-image-4.15.0-22-generic-dbgsym:
2018-09-20 18:38:50 status installed linux-image-4.15.0-22-generic-dbgsym:amd64

Any ideas on how to get it working?

Reply | Threaded
Open this post in threaded view

Re: Systemtap incompatible with ubuntu-18.04?

Bill Broadley

Thanks to:;a=commitdiff;h=8bc64034509474bee3fb7996b2a9e74c8bc27281

And related changes I'm happy to report that using systemtap from the current
git now works with ubuntu-18.04.  In particular the nfsd-trace.stp example.

Thanks for everyone's help.