summaryrefslogtreecommitdiffstats
path: root/nfsd
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-11-07 11:50:50 -0500
committerSteve Dickson <steved@redhat.com>2009-11-07 11:50:50 -0500
commit536fe50ff10ac2048dd5d6a3b175c9a1cc384b7a (patch)
tree8eae2087b8f61782c016b67b5aaea6bc29e387e4 /nfsd
parent3e5a76b2d190f780b4089641b5a59e93c450cdf9 (diff)
downloadsystemtap-536fe50ff10ac2048dd5d6a3b175c9a1cc384b7a.tar.gz
systemtap-536fe50ff10ac2048dd5d6a3b175c9a1cc384b7a.tar.xz
systemtap-536fe50ff10ac2048dd5d6a3b175c9a1cc384b7a.zip
Fixed a stack overflow problem
Added more detail to nfsd_lookup failuers Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/nfsd_cacheio.stp7
-rw-r--r--nfsd/nfsd_lookup.stp7
2 files changed, 12 insertions, 2 deletions
diff --git a/nfsd/nfsd_cacheio.stp b/nfsd/nfsd_cacheio.stp
index 3dc0a8d..62e65f8 100644
--- a/nfsd/nfsd_cacheio.stp
+++ b/nfsd/nfsd_cacheio.stp
@@ -49,11 +49,18 @@ probe module("nfsd").function("svc_export_parse").return
if ($return < 0)
printf(" svc_export_parse: error %s\n", errno_str($return));
}
+/*
probe module("nfsd").function("exp_get_by_name")
{
printf("exp_get_by_name: clp %p mnt %p dentry %p reqp %p\n",
$clp, $mnt, $dentry, $reqp);
}
+*/
+probe module("nfsd").function("exp_get_by_name")
+{
+ printf("exp_get_by_name: clp %p path %p reqp %p\n",
+ $clp, $path, $reqp);
+}
probe module("nfsd").function("exp_get_by_name").return
{
printf("exp_get_by_name: return %p\n", $return);
diff --git a/nfsd/nfsd_lookup.stp b/nfsd/nfsd_lookup.stp
index 91e7ed4..5230248 100644
--- a/nfsd/nfsd_lookup.stp
+++ b/nfsd/nfsd_lookup.stp
@@ -15,21 +15,23 @@ probe module("nfsd").function("nfsd_lookup_dentry").return
if ($return != 0)
printf(" nfsd_lookup_dentry: %s\n", nfsderror($return));
}
-/*
probe module("nfsd").function("check_nfsd_access")
{
+/*
check_exp = $exp;
check_rqstp_flavor = $rqstp->rq_flavor;
+*/
}
probe module("nfsd").function("check_nfsd_access").return
{
if ($return != 0) {
printf(" check_nfsd_access: %s\n", nfsderror($return));
+/*
printf(" : rq_flavor %d %s\n",
check_rqstp_flavor, svc_export_flavors(check_exp));
+*/
}
}
-*/
probe module("nfsd").function("fh_verify")
{
printf(" fh_verify: rqstp %p fhp %p type %d access %d\n",
@@ -45,6 +47,7 @@ probe module("nfsd").function("nfsd_setuser_and_check_port")
{
printf(" nfsd_setuser_and_check_port: rqstp %p exp %p \n",
$rqstp, $exp);
+ printf(" : %s\n", svc_export_dump($exp));
}
probe module("nfsd").function("nfsd_setuser_and_check_port").return
{