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
@@ -224,10 +224,12 @@
&sr->raw_data, /* output mbc */
data_pad,
&xa->rep_data_mb);
sendit:
+ DTRACE_SMB_1(op__NtTransactNotify__done2, smb_request_t *, sr);
+
sds = &sr->sr_server->sv_disp_stats1[sr->smb_com];
atomic_add_64(&sds->sdt_txb, (int64_t)sr->reply.chain_offset);
smbsr_send_reply(sr); /* also puts the SMB header. */
smbsr_cleanup(sr);