diff options
author | Steve Dickson <steved@redhat.com> | 2008-08-08 13:49:46 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-08-08 13:49:46 -0400 |
commit | 948971e5911134a957892a497fa92f13196d0e40 (patch) | |
tree | 699494330b64b91939e186e72f86f3b95c08cbe0 /tapset | |
parent | fa37f09c5b2faa0fd15ab24eaa08cac9d506419c (diff) | |
download | systemtap-948971e5911134a957892a497fa92f13196d0e40.tar.gz systemtap-948971e5911134a957892a497fa92f13196d0e40.tar.xz systemtap-948971e5911134a957892a497fa92f13196d0e40.zip |
Reworked cacheio.stp
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/svc_export.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/svc_export.stp b/tapset/svc_export.stp index c7649fb..712b502 100644 --- a/tapset/svc_export.stp +++ b/tapset/svc_export.stp @@ -28,7 +28,7 @@ function svc_export_dump:string(_exp:long) mnt = (struct vfsmount *) kread(&(exp->ex_mnt)); if (mnt && dentry) fname = d_path(dentry, mnt, buf, MAXSTRINGLEN); - sprintf(buf+cc, " mnt %p dentry %p(%s)", + sprintf(buf+cc, " mnt %p dentry %p(%s)", exp->ex_mnt, exp->ex_dentry, fname > 0 ? fname : NULL); #else sprintf(buf+cc, "exp %p path %s flg 0x%x fsid %d nflavors %d\n", @@ -39,7 +39,7 @@ function svc_export_dump:string(_exp:long) ex_path.mnt = (struct vfsmount *) kread(&(exp->ex_path.mnt)); if (ex_path.mnt && ex_path.dentry) fname = d_path(&ex_path, buf, MAXSTRINGLEN); - sprintf(buf+cc, " mnt %p dentry %p(%s)", + sprintf(buf+cc, " mnt %p dentry %p(%s)", ex_path.mnt, ex_path.dentry, fname > 0 ? fname : NULL); #endif } |