diff options
| author | Steve Dickson <steved@redhat.com> | 2011-04-13 14:21:56 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2011-04-13 14:21:56 -0400 |
| commit | a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c (patch) | |
| tree | f6ac766cf35e5ba263c8265afd05652bbb35fab1 /pnfsd | |
| parent | 4dc3f977f345841719e810fd60add23914910155 (diff) | |
| download | systemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.tar.gz systemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.tar.xz systemtap-a785da0ef3671f1c73b9d69e77f1b1f65d7ef76c.zip | |
Added pnfsd/layoutget
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'pnfsd')
| -rw-r--r-- | pnfsd/layoutget.stp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pnfsd/layoutget.stp b/pnfsd/layoutget.stp new file mode 100644 index 0000000..aa02617 --- /dev/null +++ b/pnfsd/layoutget.stp @@ -0,0 +1,32 @@ +probe module("nfsd").function("nfsd4_find_pnfs_dlm_device") +{ + printf("nfsd4_find_pnfs_dlm_device: sb %p \n", $sb); +} +probe module("nfsd").function("nfsd4_find_pnfs_dlm_device").return +{ + printf("nfsd4_find_pnfs_dlm_device: %p\n", $return); +} +probe module("nfsd").function("nfsd4_pnfs_dlm_layoutget") +{ + printf("nfsd4_pnfs_dlm_layoutget: inode %p args %p\n",$inode, + $args); +} +probe module("nfsd").function("nfsd4_pnfs_dlm_layoutget").return +{ + printf("nfsd4_pnfs_dlm_layoutget: %s\n", nfs4error($return)); +} +probe module("nfsd").function("_nfsd4_find_pnfs_dlm_device").return +{ + printf("_nfsd4_find_pnfs_dlm_device: %p\n", $return); +} +probe module("nfsd").function("_nfsd4_find_pnfs_dlm_device") +{ + printf("_nfsd4_find_pnfs_dlm_device: %s\n", kernel_string($disk_name)); +} +probe module("nfsd").function("_nfsd4_find_pnfs_dlm_device").return +{ + printf("_nfsd4_find_pnfs_dlm_device: %p\n", $return); +} +probe begin { log("starting layoutget probe") } +probe end { log("ending layoutget probe") } + |
