diff options
| author | Steve Dickson <steved@redhat.com> | 2008-04-09 10:09:43 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2008-04-09 10:09:43 -0400 |
| commit | 8de0935f97b3cea618a039e45eaaeb4934c920ea (patch) | |
| tree | 42e3e65609fe9f955e17a208613db3851e61deff | |
| parent | 855d2ca97da97b78b3909a5a570bf337a56fdcd9 (diff) | |
| download | systemtap-8de0935f97b3cea618a039e45eaaeb4934c920ea.tar.gz systemtap-8de0935f97b3cea618a039e45eaaeb4934c920ea.tar.xz systemtap-8de0935f97b3cea618a039e45eaaeb4934c920ea.zip | |
added nfsd_setattr.stp
| -rw-r--r-- | nfsd_setattr.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nfsd_setattr.stp b/nfsd_setattr.stp new file mode 100644 index 0000000..55ad5ad --- /dev/null +++ b/nfsd_setattr.stp @@ -0,0 +1,17 @@ +probe module("nfsd").function("nfsd_setattr") +{ + printf("nfsd_setattr: rqstp %p fhp %p iap %p check_guard %d\n", + $rqstp, $fhp, $iap, $check_guard); +} +probe module("nfsd").function("nfsd_setattr").return +{ + printf("nfsd_setattr: %s\n", nfsderror($return)); +} +probe module("nfsd").function("fh_verify").return +{ + if ($return) + printf(" fh_verify: %s\n", nfsderror($return)); +} +probe begin { log("starting nfsd_setattr probe") } +probe end { log("ending nfsd_setattr probe") } + |
