probe nfsd.dispatch = kernel.function("nfsd_dispatch")!,
module("nfsd").function("nfsd_dispatch") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = $rqstp->rq_vers
probe nfsd.proc2.lookup = kernel.function("nfsd_proc_lookup") !,
module("nfsd").function("nfsd_proc_lookup") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
- version = 2
+ version = 2
fh = & @cast($argp, "nfsd_diropargs", "kernel:nfsd")->fh
filelen = $argp->len
probe nfsd.proc2.lookup.return = kernel.function("nfsd_proc_lookup").return !,
module("nfsd").function("nfsd_proc_lookup").return ?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.lookup.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.lookup = kernel.function("nfsd3_proc_lookup") !,
module("nfsd").function("nfsd3_proc_lookup") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "nfsd_diropargs", "kernel:nfsd")->fh
probe nfsd.proc3.lookup.return = kernel.function("nfsd3_proc_lookup").return !,
module("nfsd").function("nfsd3_proc_lookup").return ?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.lookup.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.lookup = kernel.function("nfsd4_lookup") !,
module("nfsd").function("nfsd4_lookup") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.lookup.return = kernel.function("nfsd4_lookup").return !,
module("nfsd").function("nfsd4_lookup").return ?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.lookup.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc2.read = kernel.function("nfsd_proc_read")!,
module("nfsd").function("nfsd_proc_read")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 2
fh = & @cast($argp, "nfsd_readargs", "kernel:nfsd")->fh
probe nfsd.proc2.read.return = kernel.function("nfsd_proc_read").return!,
module("nfsd").function("nfsd_proc_read").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.read.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.read = kernel.function("nfsd3_proc_read")!,
module("nfsd").function("nfsd3_proc_read")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "nfsd3_readargs", "kernel:nfsd")->fh
probe nfsd.proc3.read.return = kernel.function("nfsd3_proc_read").return!,
module("nfsd").function("nfsd3_proc_read").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.read.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.read = kernel.function("nfsd4_read") !,
module("nfsd").function("nfsd4_read") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.read.return = kernel.function("nfsd4_read").return!,
module("nfsd").function("nfsd4_read").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.read.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc2.write = kernel.function("nfsd_proc_write")!,
module("nfsd").function("nfsd_proc_write")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 2
fh = & @cast($argp, "nfsd_writeargs", "kernel:nfsd")->fh
probe nfsd.proc2.write.return = kernel.function("nfsd_proc_write").return!,
module("nfsd").function("nfsd_proc_write").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.write.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.write = kernel.function("nfsd3_proc_write")!,
module("nfsd").function("nfsd3_proc_write")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "nfsd3_writeargs", "kernel:nfsd")->fh
probe nfsd.proc3.write.return = kernel.function("nfsd3_proc_write").return!,
module("nfsd").function("nfsd3_proc_write").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.write.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.write = kernel.function("nfsd4_write") !,
module("nfsd").function("nfsd4_write") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.write.return = kernel.function("nfsd4_write").return!,
module("nfsd").function("nfsd4_write").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.write.return"
version = 4
count = $write->wr_bytes_written
probe nfsd.proc3.commit = kernel.function("nfsd3_proc_commit")!,
module("nfsd").function("nfsd3_proc_commit")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "struct nfsd3_commitargs", "kernel:nfsd")->fh
probe nfsd.proc3.commit.return = kernel.function("nfsd3_proc_commit").return!,
module("nfsd").function("nfsd3_proc_commit").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.commit.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.commit = kernel.function("nfsd4_commit") !,
module("nfsd").function("nfsd4_commit") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.write.commit = kernel.function("nfsd4_commit").return!,
module("nfsd").function("nfsd4_commit").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.commit.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc2.create = kernel.function("nfsd_proc_create")!,
module("nfsd").function("nfsd_proc_create")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 2
fh = & @cast($argp, "struct nfsd_createargs", "kernel:nfsd")->fh
probe nfsd.proc2.create.return = kernel.function("nfsd_proc_create").return!,
module("nfsd").function("nfsd_proc_create").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.create.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.create = kernel.function("nfsd3_proc_create")!,
module("nfsd").function("nfsd3_proc_create")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "struct nfsd_createargs", "kernel:nfsd")->fh
probe nfsd.proc3.create.return = kernel.function("nfsd3_proc_create").return!,
module("nfsd").function("nfsd3_proc_create").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.create.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.create = kernel.function("nfsd4_create") !,
module("nfsd").function("nfsd4_create") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.write.create = kernel.function("nfsd4_create").return!,
module("nfsd").function("nfsd4_create").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.create.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc2.remove = kernel.function("nfsd_proc_remove")!,
module("nfsd").function("nfsd_proc_remove")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
- version = 2
+ version = 2
fh = & @cast($argp, "struct nfsd_diropargs", "kernel:nfsd")->fh
filelen = $argp->len
probe nfsd.proc2.remove.return = kernel.function("nfsd_proc_remove").return!,
module("nfsd").function("nfsd_proc_remove").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.remove.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.remove = kernel.function("nfsd3_proc_remove")!,
module("nfsd").function("nfsd3_proc_remove")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "struct nfsd3_diropargs", "kernel:nfsd")->fh
probe nfsd.proc3.remove.return = kernel.function("nfsd3_proc_remove").return!,
module("nfsd").function("nfsd3_proc_remove").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.remove.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.remove = kernel.function("nfsd4_remove") !,
module("nfsd").function("nfsd4_remove") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->current_fh
probe nfsd.proc4.remove.return = kernel.function("nfsd4_remove").return!,
module("nfsd").function("nfsd4_remove").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.remove.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
* Fires when clients rename a file on server side
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handler of old path
* tfh : file handler of new path
* filename : old file name
probe nfsd.proc2.rename = kernel.function("nfsd_proc_rename")!,
module("nfsd").function("nfsd_proc_rename")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 2
fh = & @cast($argp, "struct nfsd_renameargs", "kernel:nfsd")->ffh
probe nfsd.proc2.rename.return = kernel.function("nfsd_proc_rename").return!,
module("nfsd").function("nfsd_proc_rename").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc2.rename.return"
version = 2
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc3.rename = kernel.function("nfsd3_proc_rename")!,
module("nfsd").function("nfsd3_proc_rename")?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 3
fh = & @cast($argp, "struct nfsd3_renameargs", "kernel:nfsd")->ffh
probe nfsd.proc3.rename.return = kernel.function("nfsd3_proc_rename").return!,
module("nfsd").function("nfsd3_proc_rename").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc3.rename.return"
version = 3
retstr = sprintf("%s", nfsderror($return))
probe nfsd.proc4.rename = kernel.function("nfsd4_rename") !,
module("nfsd").function("nfsd4_rename") ?
{
- client_ip = addr_from_rqst($rqstp)
+ client_ip = addr_from_rqst_str($rqstp)
proto = $rqstp->rq_prot
version = 4
fh = & @cast($cstate, "nfsd4_compound_state", "kernel:nfsd")->save_fh
probe nfsd.proc4.rename.return = kernel.function("nfsd4_rename").return!,
module("nfsd").function("nfsd4_rename").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
name = "nfsd.proc4.rename.return"
version = 4
retstr = sprintf("%s", nfsderror($return))
* Fires when server opens a file
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* access : indicates the type of open(read/write/commit/readdir...)
* type : type of file(regular file or dir)
probe nfsd.open = kernel.function("nfsd_open") !,
module("nfsd").function("nfsd_open")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
access = $access
probe nfsd.open.return = kernel.function("nfsd_open").return !,
module("nfsd").function("nfsd_open").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.open.return"
* Fires when server reads data from a file
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* file : argument file,indicates if the file has been opened.
* size:
probe nfsd.read = kernel.function("nfsd_read") !,
module("nfsd").function("nfsd_read")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
%( kernel_v >= "2.6.12" %?
probe nfsd.read.return = kernel.function("nfsd_read").return !,
module("nfsd").function("nfsd_read").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.read.return"
* Fires when server writes data to a file
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* file : argument file,indicates if the file has been opened.
* size:
probe nfsd.write = kernel.function("nfsd_write")!,
module("nfsd").function("nfsd_write")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
%( kernel_v >= "2.6.12" %?
probe nfsd.write.return = kernel.function("nfsd_write").return!,
module("nfsd").function("nfsd_write").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.write.return"
* Fires when server commits all pending writes to stable storage.
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* flag : indicates whether this execution is a sync operation
* size:
probe nfsd.commit = kernel.function("nfsd_commit")!,
module("nfsd").function("nfsd_commit")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
count = $count
probe nfsd.commit.return = kernel.function("nfsd_commit").return!,
module("nfsd").function("nfsd_commit").return ?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.commit.return"
* Fires when client opens/searchs file on server
*
*Arguments:
+* client_ip : the ip address of client
* fh : file handle of parent dir(the first part is the length of the file handle)
* filename : file name
* filelen : the length of file name
probe nfsd.lookup = kernel.function("nfsd_lookup")!,
module("nfsd").function("nfsd_lookup")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
filelen = $len
probe nfsd.lookup.return = kernel.function("nfsd_lookup").return!,
module("nfsd").function("nfsd_lookup").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.lookup.return"
*
* Arguments:
*
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* filename : file name
* filelen : the length of file name
probe nfsd.create = kernel.function("nfsd_create")!,
module("nfsd").function("nfsd_create")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
filelen = $flen
probe nfsd.create.return = kernel.function("nfsd_create").return!,
module("nfsd").function("nfsd_create").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
name = "nfsd.create.return"
*
* Arguments:
*
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* filename : file name
* filelen : the length of file name
probe nfsd.createv3 = kernel.function("nfsd_create_v3")!,
module("nfsd").function("nfsd_create_v3")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
filelen = $flen
probe nfsd.createv3.return = kernel.function("nfsd_create_v3").return!,
module("nfsd").function("nfsd_create_v3").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+ fh = __svc_fh($fhp)
+
name = "nfsd.createv3.return"
retstr = sprintf("%s", nfsderror($return))
}
*
* Arguments:
*
+* client_ip : the ip address of client
* fh : file handle (the first part is the length of the file handle)
* filename : file name
* filelen : the length of file name
probe nfsd.unlink = kernel.function("nfsd_unlink")!,
module("nfsd").function("nfsd_unlink")?
{
+ client_ip = addr_from_rqst_str($rqstp)
fh = __svc_fh($fhp)
filelen = $flen
probe nfsd.unlink.return = kernel.function("nfsd_unlink").return!,
module("nfsd").function("nfsd_unlink").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+ fh = __svc_fh($fhp)
+
name = "nfsd.unlink.return"
retstr = sprintf("%s", nfsderror($return))
}
* Fires when clients rename a file on server side
*
* Arguments:
+* client_ip : the ip address of client
* fh : file handler of old path
* tfh : file handler of new path
* filename : old file name
probe nfsd.rename = kernel.function("nfsd_rename")!,
module("nfsd").function("nfsd_rename")?
{
+ client_ip = addr_from_rqst_str($rqstp)
+
fh = __svc_fh($ffhp)
tfh = __svc_fh($tfhp)
probe nfsd.rename.return = kernel.function("nfsd_rename").return!,
module("nfsd").function("nfsd_rename").return?
{
+ client_ip = addr_from_rqst_str($rqstp)
+ fh = __svc_fh($ffhp)
+
name = "nfsd.rename.return"
retstr = sprintf("%s", nfsderror($return))
}