Print this page
NEX-1643 dtrace provider for smbsrv
Also illumos 1841:
 DTrace smb provider was mis-implemented, doesn't exist.
Add back handlers for read/write raw, so that
 legacy dtrace consumers can find the probes.
Kill extra arg in smb_negotiate
Fix missing "done" probe with smb_notify
Add example consumer: smb-trace.d
fix soi_pid

@@ -187,22 +187,20 @@
                 cmn_err(CE_NOTE,
                     "SmbSessonSetupX: client %s invalid request",
                     sr->session->ip_addr_str);
         }
 
-        DTRACE_SMB_2(op__SessionSetupX__start, smb_request_t *, sr,
-            smb_arg_sessionsetup_t, sinfo);
+        DTRACE_SMB_1(op__SessionSetupX__start, smb_request_t *, sr);
         return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
 }
 
 void
 smb_post_session_setup_andx(smb_request_t *sr)
 {
         smb_arg_sessionsetup_t  *sinfo = sr->sr_ssetup;
 
-        DTRACE_SMB_2(op__SessionSetupX__done, smb_request_t *, sr,
-            smb_arg_sessionsetup_t, sinfo);
+        DTRACE_SMB_1(op__SessionSetupX__done, smb_request_t *, sr);
 
         if (sinfo->ssi_lmpwd != NULL)
                 bzero(sinfo->ssi_lmpwd, sinfo->ssi_lmpwlen);
 
         if (sinfo->ssi_ntpwd != NULL)