On 10/19/18 2:38 PM, Frank Ch. Eigler wrote:
> Hi -
> 
> This commit appears to fix this problem.
> 
> https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commitdiff;h=8bc64034509474bee3fb7996b2a9e74c8bc27281
> 


It tried it, here's that file with the patch:
        version = 4
        fh = & @nfsd4_compound_state($cstate)->current_fh

        if (@defined($u)) {
             count = $u->read->rd_length
             offset = $u->read->rd_offset
             vec = $rqstp->rq_vec
             vlen = $u->read->rd_vlen
        } else {
             count = $read->rd_length
             offset = $read->rd_offset
             vec = $rqstp->rq_vec
             vlen = $read->rd_vlen
        }


        uid = __rqstp_uid($rqstp)
        gid = __rqstp_gid($rqstp)

I installed systemtap-4.0, ran ./configure --prefix=/share/apps/systemtap-4.0;
make; make install

Then ran it:
root@nas-12-1:/share/apps/systemtap-4.0# ./bin/stap
./share/systemtap/examples/network/nfsd-trace.stp
semantic error: while processing probe
module("nfsd").function("nfsd4_commit@/build/linux-39dmni/linux-4.15.0/fs/nfsd/nfs4proc.c:579").call
from: nfsd.proc4.commit from: nfsd.proc.commit from: nfsd.proc.entries from:
nfsd.proc.entries

semantic error: failed to retrieve location attribute for 'commit' [man
error::dwarf]: identifier '$commit' at
/share/apps/systemtap-4.0/share/systemtap/tapset/linux/nfsd.stp:856:10
        dieoffset: 0x1b5709 from
/usr/lib/debug/lib/modules/4.15.0-36-generic/kernel/fs/nfsd/nfsd.ko
        function: nfsd4_commit at
/build/linux-39dmni/linux-4.15.0/fs/nfsd/nfs4proc.c:581
        source:         count = $commit->co_count
                                ^

semantic error: failed to retrieve location attribute for 'commit' [man
error::dwarf]: identifier '$commit' at :856:10
        dieoffset: 0x1b5709 from
/usr/lib/debug/lib/modules/4.15.0-36-generic/kernel/fs/nfsd/nfsd.ko
        function: nfsd4_commit at
/build/linux-39dmni/linux-4.15.0/fs/nfsd/nfs4proc.c:581
        source:         count = $commit->co_count
                                ^

Pass 2: analysis failed.  [man error::pass2]

I'll try building the current git version and see if that helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795545

Title:
  Systemtap incompatible with ubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1795545/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to