* tapset/linux/nfsd.stp: Make nfsd.close optional in nfsd.entries (and add
it optionally to nfsd.return), since the underlying probe point no
longer exists in kernels 4.2+. Also add nfsd.proc.commit.return to
nfsd.proc.return (to match nfsd.proc).
* testsuite/buildok/nfsd-detailed.stp: Make nfsd.close tests optional.
probe nfsd.proc.return = nfsd.proc.lookup.return,
nfsd.proc.read.return,
nfsd.proc.write.return,
+ nfsd.proc.commit.return,
nfsd.proc.remove.return,
nfsd.proc.rename.return,
nfsd.proc.create.return
nfsd.createv3,
nfsd.unlink,
nfsd.rename,
- nfsd.close
+ nfsd.close ?
{}
probe nfsd.return = nfsd.open.return,
nfsd.create.return,
nfsd.createv3.return,
nfsd.unlink.return,
- nfsd.rename.return
+ nfsd.rename.return,
+ nfsd.close.return ?
{}
/**
* probe nfsd.close - NFS server closing a file for client
*
* @filename: file name
+ *
+ * This probe point does not exist in kernels starting with 4.2.
*/
probe nfsd.close = __nfsd.call_close ?, __nfsd.inlined_close ?
{
# nfsd.close tests
#
-probe nfsd.close
+probe nfsd.close ?
{
printf("%s(%s)\n", name, argstr)
printf("%s\n", client_ip)
}
-probe nfsd.close.return
+probe nfsd.close.return ?
{
printf("%s(%s)\n", name, retstr)
}