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

@@ -107,11 +107,10 @@
 extern  int smb_oplock_levelII;
 extern  int smb_oplock_timeout;
 extern  int smb_oplock_min_timeout;
 extern  int smb_shortnames;
 extern  int smb_sign_debug;
-extern  int smb_raw_mode;
 extern  uint_t smb_audit_flags;
 extern  int smb_ssetup_threshold;
 extern  int smb_tcon_threshold;
 extern  int smb_opipe_threshold;
 extern  int smb_ssetup_timeout;

@@ -805,13 +804,10 @@
 
 struct mbuf *smb_mbuf_get(uchar_t *buf, int nbytes);
 struct mbuf *smb_mbuf_allocate(struct uio *uio);
 void smb_mbuf_trim(struct mbuf *mhead, int nbytes);
 
-void smb_check_status(void);
-int smb_handle_write_raw(smb_session_t *session, smb_request_t *sr);
-
 int32_t smb_time_gmt_to_local(smb_request_t *, int32_t);
 int32_t smb_time_local_to_gmt(smb_request_t *, int32_t);
 int32_t smb_time_dos_to_unix(int16_t, int16_t);
 void smb_time_unix_to_dos(int32_t, int16_t *, int16_t *);
 void smb_time_nt_to_unix(uint64_t nt_time, timestruc_t *unix_time);