From 3fc0e545a2aa1a2a3717cb3fc652f8876a03c073 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 11 Aug 2008 14:22:19 -0400 Subject: Added svc_export_put --- svc_export.stp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/svc_export.stp b/svc_export.stp index e1a7f22..eb36538 100644 --- a/svc_export.stp +++ b/svc_export.stp @@ -25,6 +25,10 @@ probe module("nfsd").function("svc_export_request") { printf("svc_export_request: cd 0x%p h 0x%p\n", $cd, $h); } +probe module("nfsd").function("svc_export_put") +{ + printf("svc_export_put: ref 0x%p \n", $ref); +} probe module("nfsd").function("svc_export_parse") { printf(" svc_export_parse: cd %p(%s) mlen %d\n", @@ -34,8 +38,11 @@ probe module("nfsd").function("svc_export_parse") } probe module("nfsd").function("svc_export_parse").return { - if ($return < 0) + if ($return < 0) { printf(" svc_export_parse: error %s\n", errno_str($return)); + } else { + printf(" svc_export_parse: count %d\n", $return); + } } probe begin { log("starting svc_export probe") } probe end { log("ending svc_export probe") } -- cgit