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]

[Bug tapsets/18856] New: nfsd.close probe alias fails on rawhide


https://sourceware.org/bugzilla/show_bug.cgi?id=18856

            Bug ID: 18856
           Summary: nfsd.close probe alias fails on rawhide
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On rawhide (4.2.0-0.rc6.git1.1.fc24.x86_64), the nfsd.close probe alias no
longer resolves:

====
# stap -p4 -e 'probe nfsd.close {}'
semantic error: while resolving probe point: identifier 'nfsd' at <input>:1:7
        source: probe nfsd.close {}
                      ^

semantic error: no match

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

This is because of the following kernel commit:

====
commit fd891454609ec036dc23e34536e45d655b4ca4db
Author: Christoph Hellwig <hch@lst.de>
Date:   Tue Apr 28 15:41:16 2015 +0200

    nfsd: remove nfsd_close

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
====

Here's a link to the actual patch:

<https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/nfsd/vfs.c?id=fd891454609ec036dc23e34536e45d655b4ca4db>

As you can see in that patch, the nfsd_close() function was replace with a call
to fput(). We can't just move the nfsd.close probe to probe fput(), since
fput() is called all over the kernel.

So, basically this function we were probing is gone. The only solution I see at
this point is to make the nfsd.close probe point optional.

-- 
You are receiving this mail because:
You are the assignee for the bug.


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