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
@@ -248,10 +248,16 @@
DTRACE_PROBE1(__smb_##name, type1, arg1);
#define DTRACE_SMB_2(name, type1, arg1, type2, arg2) \
DTRACE_PROBE2(__smb_##name, type1, arg1, type2, arg2);
+#define DTRACE_SMB2_1(name, type1, arg1) \
+ DTRACE_PROBE1(__smb2_##name, type1, arg1);
+
+#define DTRACE_SMB2_2(name, type1, arg1, type2, arg2) \
+ DTRACE_PROBE2(__smb2_##name, type1, arg1, type2, arg2);
+
#define DTRACE_IP(name) \
DTRACE_PROBE(__ip_##name);
#define DTRACE_IP1(name, type1, arg1) \
DTRACE_PROBE1(__ip_##name, type1, arg1);