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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/sdt.h
          +++ new/usr/src/uts/common/sys/sdt.h
↓ open down ↓ 242 lines elided ↑ open up ↑
 243  243  
 244  244  #define DTRACE_NFSV4_3(name, type1, arg1, type2, arg2, type3, arg3) \
 245  245          DTRACE_PROBE3(__nfsv4_##name, type1, arg1, type2, arg2, type3, arg3);
 246  246  
 247  247  #define DTRACE_SMB_1(name, type1, arg1) \
 248  248          DTRACE_PROBE1(__smb_##name, type1, arg1);
 249  249  
 250  250  #define DTRACE_SMB_2(name, type1, arg1, type2, arg2) \
 251  251          DTRACE_PROBE2(__smb_##name, type1, arg1, type2, arg2);
 252  252  
      253 +#define DTRACE_SMB2_1(name, type1, arg1) \
      254 +        DTRACE_PROBE1(__smb2_##name, type1, arg1);
      255 +
      256 +#define DTRACE_SMB2_2(name, type1, arg1, type2, arg2) \
      257 +        DTRACE_PROBE2(__smb2_##name, type1, arg1, type2, arg2);
      258 +
 253  259  #define DTRACE_IP(name)                                         \
 254  260          DTRACE_PROBE(__ip_##name);
 255  261  
 256  262  #define DTRACE_IP1(name, type1, arg1)                                   \
 257  263          DTRACE_PROBE1(__ip_##name, type1, arg1);
 258  264  
 259  265  #define DTRACE_IP2(name, type1, arg1, type2, arg2)                      \
 260  266          DTRACE_PROBE2(__ip_##name, type1, arg1, type2, arg2);
 261  267  
 262  268  #define DTRACE_IP3(name, type1, arg1, type2, arg2, type3, arg3) \
↓ open down ↓ 177 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX