* Systemtap incompatible with ubuntu-18.04?
@ 2018-09-28 0:51 Bill Broadley
2018-10-23 0:51 ` Bill Broadley
0 siblings, 1 reply; 2+ messages in thread
From: Bill Broadley @ 2018-09-28 0:51 UTC (permalink / raw)
To: systemtap
Greetings,
I've been using systemtap to track NFSd activity on several ubuntu-16.04
machines with no problems.
Running:
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
module("nfsd").function("nfsd4_lookup@/build/linux-lZKWha/linux-4.15.0/fs/nfsd
/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
./share/systemtap/examples/network/nfsd-trace.stp
semantic error: while processing probe
module("nfsd").function("nfsd4_read@/build/linux-lZKWha/linux-4.15.0/fs/nfsd/nfs4proc.c:744").call
from: nfsd.proc4.read from: nfsd.proc.read from: nfsd.proc.entries from:
nfsd.proc.entries
semantic error: failed to retrieve location attribute for 'read' [man
error::dwarf]: identifier '$read' at
/share/apps/systemtap-2018-09-27/share/systemtap/tapset/linux/nfsd.stp:570:10
dieoffset: 0x1b87de from
/usr/lib/debug/lib/modules/4.15.0-22-generic/kernel/fs/nfsd/nfsd.ko
function: nfsd4_read at
/build/linux-lZKWha/linux-4.15.0/fs/nfsd/nfs4proc.c:746
source: count = $read->rd_length
^
The kernel used is:
4.15.0-22-generic
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
4.15.0-22.24
Any ideas on how to get it working?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Systemtap incompatible with ubuntu-18.04?
2018-09-28 0:51 Systemtap incompatible with ubuntu-18.04? Bill Broadley
@ 2018-10-23 0:51 ` Bill Broadley
0 siblings, 0 replies; 2+ messages in thread
From: Bill Broadley @ 2018-10-23 0:51 UTC (permalink / raw)
To: systemtap
Thanks to:
https://sourceware.org/git/gitweb.cgi?p=systemtap.git;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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-23 0:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-28 0:51 Systemtap incompatible with ubuntu-18.04? Bill Broadley
2018-10-23 0:51 ` Bill Broadley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).