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
*** 98,109 ****
&tcon->password, &tcon->service);
tcon->flags = 0;
tcon->optional_support = 0;
! DTRACE_SMB_2(op__TreeConnect__start, smb_request_t *, sr,
! smb_arg_tcon_t *, tcon);
return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
}
void
--- 98,108 ----
&tcon->password, &tcon->service);
tcon->flags = 0;
tcon->optional_support = 0;
! DTRACE_SMB_1(op__TreeConnect__start, smb_request_t *, sr);
return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
}
void
*** 289,300 ****
tcon->password = (char *)pwbuf;
}
tcon->optional_support = 0;
! DTRACE_SMB_2(op__TreeConnectX__start, smb_request_t *, sr,
! smb_arg_tcon_t *, tcon);
return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
}
void
--- 288,298 ----
tcon->password = (char *)pwbuf;
}
tcon->optional_support = 0;
! DTRACE_SMB_1(op__TreeConnectX__start, smb_request_t *, sr);
return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
}
void