probe module("nfsd").function("svc_export_show") { printf("svc_export_show: m 0x%p cd 0x%p h 0x%p\n", $m, $cd, $h); } probe module("nfsd").function("svc_export_show").return { if ($return) printf("svc_export_show: %s\n", nfsderror($return)); } probe module("nfsd").function("export_update") { printf("export_update: cnew 0x%p citem 0x%p\n", $cnew, $citem); } probe module("nfsd").function("svc_export_match") { printf("svc_export_match: a 0x%p b 0x%p\n", $a, $b); } probe module("nfsd").function("svc_export_match").return { printf("svc_export_match: %d\n", $return); } 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", $cd, kernel_string($cd->name), $mlen); printf(" %s\n", svc_export_data(kernel_string($mesg))); } probe module("nfsd").function("svc_export_parse").return { 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") }