Print this page
Build provider 3rd arg from smb_request_t
hacking...
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


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  23  * Copyright (c) 2012, Joyent, Inc. All rights reserved.

  24  */
  25 
  26 #include <sys/sdt_impl.h>
  27 
  28 static dtrace_pattr_t vtrace_attr = {
  29 { DTRACE_STABILITY_UNSTABLE, DTRACE_STABILITY_UNSTABLE, DTRACE_CLASS_ISA },
  30 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  31 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  32 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  33 { DTRACE_STABILITY_UNSTABLE, DTRACE_STABILITY_UNSTABLE, DTRACE_CLASS_ISA },
  34 };
  35 
  36 static dtrace_pattr_t info_attr = {
  37 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  38 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  39 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  40 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  41 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
  42 };
  43 


  96 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
  97 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  98 };
  99 
 100 sdt_provider_t sdt_providers[] = {
 101         { "vtrace", "__vtrace_", &vtrace_attr },
 102         { "sysinfo", "__cpu_sysinfo_", &info_attr, DTRACE_PRIV_USER },
 103         { "vminfo", "__cpu_vminfo_", &info_attr, DTRACE_PRIV_USER },
 104         { "fpuinfo", "__fpuinfo_", &fpu_attr },
 105         { "sched", "__sched_", &stab_attr, DTRACE_PRIV_USER },
 106         { "proc", "__proc_", &stab_attr, DTRACE_PRIV_USER },
 107         { "io", "__io_", &stab_attr },
 108         { "ip", "__ip_", &stab_attr },
 109         { "tcp", "__tcp_", &stab_attr },
 110         { "udp", "__udp_", &stab_attr },
 111         { "mib", "__mib_", &stab_attr },
 112         { "fsinfo", "__fsinfo_", &fsinfo_attr },
 113         { "iscsi", "__iscsi_", &iscsi_attr },
 114         { "nfsv3", "__nfsv3_", &stab_attr },
 115         { "nfsv4", "__nfsv4_", &stab_attr },

 116         { "xpv", "__xpv_", &xpv_attr },
 117         { "fc", "__fc_", &fc_attr },
 118         { "srp", "__srp_", &fc_attr },
 119         { "sysevent", "__sysevent_", &stab_attr },
 120         { "sdt", NULL, &sdt_attr },
 121         { NULL }
 122 };
 123 
 124 sdt_argdesc_t sdt_args[] = {
 125         { "sched", "wakeup", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 126         { "sched", "wakeup", 1, 0, "kthread_t *", "psinfo_t *" },
 127         { "sched", "dequeue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 128         { "sched", "dequeue", 1, 0, "kthread_t *", "psinfo_t *" },
 129         { "sched", "dequeue", 2, 1, "disp_t *", "cpuinfo_t *" },
 130         { "sched", "enqueue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 131         { "sched", "enqueue", 1, 0, "kthread_t *", "psinfo_t *" },
 132         { "sched", "enqueue", 2, 1, "disp_t *", "cpuinfo_t *" },
 133         { "sched", "enqueue", 3, 2, "int" },
 134         { "sched", "off-cpu", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 135         { "sched", "off-cpu", 1, 0, "kthread_t *", "psinfo_t *" },


 858             "conninfo_t *" },
 859         { "nfsv4", "op-write-start", 1, 0, "struct compound_state *",
 860             "nfsv4opinfo_t *" },
 861         { "nfsv4", "op-write-start", 2, 1, "WRITE4args *" },
 862         { "nfsv4", "op-write-done", 0, 0, "struct compound_state *",
 863             "conninfo_t *" },
 864         { "nfsv4", "op-write-done", 1, 0, "struct compound_state *",
 865             "nfsv4opinfo_t *" },
 866         { "nfsv4", "op-write-done", 2, 1, "WRITE4res *" },
 867         { "nfsv4", "cb-recall-start", 0, 0, "rfs4_client_t *",
 868             "conninfo_t *" },
 869         { "nfsv4", "cb-recall-start", 1, 1, "rfs4_deleg_state_t *",
 870             "nfsv4cbinfo_t *" },
 871         { "nfsv4", "cb-recall-start", 2, 2, "CB_RECALL4args *" },
 872         { "nfsv4", "cb-recall-done", 0, 0, "rfs4_client_t *",
 873             "conninfo_t *" },
 874         { "nfsv4", "cb-recall-done", 1, 1, "rfs4_deleg_state_t *",
 875             "nfsv4cbinfo_t *" },
 876         { "nfsv4", "cb-recall-done", 2, 2, "CB_RECALL4res *" },
 877 
















































































































































































































































































































































 878         { "ip", "send", 0, 0, "mblk_t *", "pktinfo_t *" },
 879         { "ip", "send", 1, 1, "conn_t *", "csinfo_t *" },
 880         { "ip", "send", 2, 2, "void_ip_t *", "ipinfo_t *" },
 881         { "ip", "send", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
 882         { "ip", "send", 4, 4, "ipha_t *", "ipv4info_t *" },
 883         { "ip", "send", 5, 5, "ip6_t *", "ipv6info_t *" },
 884         { "ip", "send", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
 885         { "ip", "receive", 0, 0, "mblk_t *", "pktinfo_t *" },
 886         { "ip", "receive", 1, 1, "conn_t *", "csinfo_t *" },
 887         { "ip", "receive", 2, 2, "void_ip_t *", "ipinfo_t *" },
 888         { "ip", "receive", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
 889         { "ip", "receive", 4, 4, "ipha_t *", "ipv4info_t *" },
 890         { "ip", "receive", 5, 5, "ip6_t *", "ipv6info_t *" },
 891         { "ip", "receive", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
 892 
 893         { "tcp", "connect-established", 0, 0, "mblk_t *", "pktinfo_t *" },
 894         { "tcp", "connect-established", 1, 1, "ip_xmit_attr_t *",
 895             "csinfo_t *" },
 896         { "tcp", "connect-established", 2, 2, "void_ip_t *", "ipinfo_t *" },
 897         { "tcp", "connect-established", 3, 3, "tcp_t *", "tcpsinfo_t *" },




   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  23  * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  24  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  25  */
  26 
  27 #include <sys/sdt_impl.h>
  28 
  29 static dtrace_pattr_t vtrace_attr = {
  30 { DTRACE_STABILITY_UNSTABLE, DTRACE_STABILITY_UNSTABLE, DTRACE_CLASS_ISA },
  31 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  32 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  33 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  34 { DTRACE_STABILITY_UNSTABLE, DTRACE_STABILITY_UNSTABLE, DTRACE_CLASS_ISA },
  35 };
  36 
  37 static dtrace_pattr_t info_attr = {
  38 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  39 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  40 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
  41 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  42 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
  43 };
  44 


  97 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
  98 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
  99 };
 100 
 101 sdt_provider_t sdt_providers[] = {
 102         { "vtrace", "__vtrace_", &vtrace_attr },
 103         { "sysinfo", "__cpu_sysinfo_", &info_attr, DTRACE_PRIV_USER },
 104         { "vminfo", "__cpu_vminfo_", &info_attr, DTRACE_PRIV_USER },
 105         { "fpuinfo", "__fpuinfo_", &fpu_attr },
 106         { "sched", "__sched_", &stab_attr, DTRACE_PRIV_USER },
 107         { "proc", "__proc_", &stab_attr, DTRACE_PRIV_USER },
 108         { "io", "__io_", &stab_attr },
 109         { "ip", "__ip_", &stab_attr },
 110         { "tcp", "__tcp_", &stab_attr },
 111         { "udp", "__udp_", &stab_attr },
 112         { "mib", "__mib_", &stab_attr },
 113         { "fsinfo", "__fsinfo_", &fsinfo_attr },
 114         { "iscsi", "__iscsi_", &iscsi_attr },
 115         { "nfsv3", "__nfsv3_", &stab_attr },
 116         { "nfsv4", "__nfsv4_", &stab_attr },
 117         { "smb", "__smb_", &stab_attr },
 118         { "xpv", "__xpv_", &xpv_attr },
 119         { "fc", "__fc_", &fc_attr },
 120         { "srp", "__srp_", &fc_attr },
 121         { "sysevent", "__sysevent_", &stab_attr },
 122         { "sdt", NULL, &sdt_attr },
 123         { NULL }
 124 };
 125 
 126 sdt_argdesc_t sdt_args[] = {
 127         { "sched", "wakeup", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 128         { "sched", "wakeup", 1, 0, "kthread_t *", "psinfo_t *" },
 129         { "sched", "dequeue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 130         { "sched", "dequeue", 1, 0, "kthread_t *", "psinfo_t *" },
 131         { "sched", "dequeue", 2, 1, "disp_t *", "cpuinfo_t *" },
 132         { "sched", "enqueue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 133         { "sched", "enqueue", 1, 0, "kthread_t *", "psinfo_t *" },
 134         { "sched", "enqueue", 2, 1, "disp_t *", "cpuinfo_t *" },
 135         { "sched", "enqueue", 3, 2, "int" },
 136         { "sched", "off-cpu", 0, 0, "kthread_t *", "lwpsinfo_t *" },
 137         { "sched", "off-cpu", 1, 0, "kthread_t *", "psinfo_t *" },


 860             "conninfo_t *" },
 861         { "nfsv4", "op-write-start", 1, 0, "struct compound_state *",
 862             "nfsv4opinfo_t *" },
 863         { "nfsv4", "op-write-start", 2, 1, "WRITE4args *" },
 864         { "nfsv4", "op-write-done", 0, 0, "struct compound_state *",
 865             "conninfo_t *" },
 866         { "nfsv4", "op-write-done", 1, 0, "struct compound_state *",
 867             "nfsv4opinfo_t *" },
 868         { "nfsv4", "op-write-done", 2, 1, "WRITE4res *" },
 869         { "nfsv4", "cb-recall-start", 0, 0, "rfs4_client_t *",
 870             "conninfo_t *" },
 871         { "nfsv4", "cb-recall-start", 1, 1, "rfs4_deleg_state_t *",
 872             "nfsv4cbinfo_t *" },
 873         { "nfsv4", "cb-recall-start", 2, 2, "CB_RECALL4args *" },
 874         { "nfsv4", "cb-recall-done", 0, 0, "rfs4_client_t *",
 875             "conninfo_t *" },
 876         { "nfsv4", "cb-recall-done", 1, 1, "rfs4_deleg_state_t *",
 877             "nfsv4cbinfo_t *" },
 878         { "nfsv4", "cb-recall-done", 2, 2, "CB_RECALL4res *" },
 879 
 880         /* Tables like this get really ugly when line-wrapped. */
 881         /* BEGIN CSTYLED */
 882         { "smb", "op-Close-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 883         { "smb", "op-Close-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 884         { "smb", "op-Close-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 885         { "smb", "op-Close-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 886 
 887         { "smb", "op-CloseAndTreeDisconnect-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 888         { "smb", "op-CloseAndTreeDisconnect-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 889         { "smb", "op-CloseAndTreeDisconnect-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 890         { "smb", "op-CloseAndTreeDisconnect-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 891 
 892         { "smb", "op-Transaction-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 893         { "smb", "op-Transaction-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 894         { "smb", "op-Transaction-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 895         { "smb", "op-Transaction-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 896 
 897         { "smb", "op-TransactionSecondary-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 898         { "smb", "op-TransactionSecondary-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 899         { "smb", "op-TransactionSecondary-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 900         { "smb", "op-TransactionSecondary-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 901 
 902         { "smb", "op-Ioctl-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 903         { "smb", "op-Ioctl-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 904         { "smb", "op-Ioctl-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 905         { "smb", "op-Ioctl-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 906 
 907         { "smb", "op-Transaction2-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 908         { "smb", "op-Transaction2-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 909         { "smb", "op-Transaction2-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 910         { "smb", "op-Transaction2-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 911 
 912         { "smb", "op-Transaction2Secondary-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 913         { "smb", "op-Transaction2Secondary-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 914         { "smb", "op-Transaction2Secondary-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 915         { "smb", "op-Transaction2Secondary-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 916 
 917         { "smb", "op-NtTransact-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 918         { "smb", "op-NtTransact-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 919         { "smb", "op-NtTransact-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 920         { "smb", "op-NtTransact-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 921 
 922         { "smb", "op-NtTransactSecondary-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 923         { "smb", "op-NtTransactSecondary-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 924         { "smb", "op-NtTransactSecondary-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 925         { "smb", "op-NtTransactSecondary-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 926 
 927         { "smb", "op-Create-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 928         { "smb", "op-Create-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 929         { "smb", "op-Create-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
 930         { "smb", "op-Create-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 931         { "smb", "op-Create-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 932 
 933         { "smb", "op-CreateNew-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 934         { "smb", "op-CreateNew-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 935         { "smb", "op-CreateNew-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
 936         { "smb", "op-CreateNew-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 937         { "smb", "op-CreateNew-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 938 
 939         { "smb", "op-CreateTemporary-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 940         { "smb", "op-CreateTemporary-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 941         { "smb", "op-CreateTemporary-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
 942         { "smb", "op-CreateTemporary-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 943         { "smb", "op-CreateTemporary-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 944 
 945         { "smb", "op-Delete-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 946         { "smb", "op-Delete-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 947         { "smb", "op-Delete-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
 948         { "smb", "op-Delete-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 949         { "smb", "op-Delete-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 950 
 951         { "smb", "op-CreateDirectory-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 952         { "smb", "op-CreateDirectory-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 953         { "smb", "op-CreateDirectory-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
 954         { "smb", "op-CreateDirectory-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 955         { "smb", "op-CreateDirectory-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 956 
 957         { "smb", "op-DeleteDirectory-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 958         { "smb", "op-DeleteDirectory-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 959         { "smb", "op-DeleteDirectory-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
 960         { "smb", "op-DeleteDirectory-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 961         { "smb", "op-DeleteDirectory-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 962 
 963         { "smb", "op-CheckDirectory-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 964         { "smb", "op-CheckDirectory-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 965         { "smb", "op-CheckDirectory-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
 966         { "smb", "op-CheckDirectory-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 967         { "smb", "op-CheckDirectory-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 968 
 969         { "smb", "op-Invalid-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 970         { "smb", "op-Invalid-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 971         { "smb", "op-Invalid-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 972         { "smb", "op-Invalid-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 973 
 974         { "smb", "op-Echo-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 975         { "smb", "op-Echo-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 976         { "smb", "op-Echo-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 977         { "smb", "op-Echo-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 978 
 979         { "smb", "op-Search-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 980         { "smb", "op-Search-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 981         { "smb", "op-Search-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 982         { "smb", "op-Search-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 983 
 984         { "smb", "op-Find-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 985         { "smb", "op-Find-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 986         { "smb", "op-Find-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 987         { "smb", "op-Find-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 988 
 989         { "smb", "op-FindClose-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 990         { "smb", "op-FindClose-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 991         { "smb", "op-FindClose-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 992         { "smb", "op-FindClose-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 993 
 994         { "smb", "op-FindUnique-start", 0, 0, "smb_request_t *", "conninfo_t *" },
 995         { "smb", "op-FindUnique-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 996         { "smb", "op-FindUnique-done", 0, 0, "smb_request_t *", "conninfo_t *" },
 997         { "smb", "op-FindUnique-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
 998 
 999         { "smb", "op-Flush-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1000         { "smb", "op-Flush-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1001         { "smb", "op-Flush-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1002         { "smb", "op-Flush-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1003 
1004         { "smb", "op-QueryInformationDisk-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1005         { "smb", "op-QueryInformationDisk-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1006         { "smb", "op-QueryInformationDisk-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1007         { "smb", "op-QueryInformationDisk-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1008 
1009         { "smb", "op-LockByteRange-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1010         { "smb", "op-LockByteRange-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1011         { "smb", "op-LockByteRange-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1012         { "smb", "op-LockByteRange-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1013 
1014         { "smb", "op-LockingX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1015         { "smb", "op-LockingX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1016         { "smb", "op-LockingX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1017         { "smb", "op-LockingX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1018 
1019         { "smb", "op-LogoffX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1020         { "smb", "op-LogoffX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1021         { "smb", "op-LogoffX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1022         { "smb", "op-LogoffX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1023 
1024         { "smb", "op-Negotiate-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1025         { "smb", "op-Negotiate-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1026         { "smb", "op-Negotiate-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1027         { "smb", "op-Negotiate-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1028 
1029         { "smb", "op-NtCancel-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1030         { "smb", "op-NtCancel-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1031         { "smb", "op-NtCancel-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1032         { "smb", "op-NtCancel-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1033 
1034         { "smb", "op-NtCreateX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1035         { "smb", "op-NtCreateX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1036         { "smb", "op-NtCreateX-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
1037         { "smb", "op-NtCreateX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1038         { "smb", "op-NtCreateX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1039 
1040         { "smb", "op-NtTransactCreate-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1041         { "smb", "op-NtTransactCreate-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1042         { "smb", "op-NtTransactCreate-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
1043         { "smb", "op-NtTransactCreate-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1044         { "smb", "op-NtTransactCreate-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1045 
1046         { "smb", "op-Open-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1047         { "smb", "op-Open-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1048         { "smb", "op-Open-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
1049         { "smb", "op-Open-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1050         { "smb", "op-Open-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1051 
1052         { "smb", "op-OpenX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1053         { "smb", "op-OpenX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1054         { "smb", "op-OpenX-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
1055         { "smb", "op-OpenX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1056         { "smb", "op-OpenX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1057 
1058         { "smb", "op-OpenPrintFile-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1059         { "smb", "op-OpenPrintFile-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1060         { "smb", "op-OpenPrintFile-start", 2, 0, "smb_request_t *", "smb_open_args_t *" },
1061         { "smb", "op-OpenPrintFile-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1062         { "smb", "op-OpenPrintFile-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1063 
1064         { "smb", "op-ClosePrintFile-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1065         { "smb", "op-ClosePrintFile-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1066         { "smb", "op-ClosePrintFile-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1067         { "smb", "op-ClosePrintFile-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1068 
1069         { "smb", "op-GetPrintQueue-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1070         { "smb", "op-GetPrintQueue-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1071         { "smb", "op-GetPrintQueue-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1072         { "smb", "op-GetPrintQueue-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1073 
1074         { "smb", "op-WritePrintFile-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1075         { "smb", "op-WritePrintFile-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1076         { "smb", "op-WritePrintFile-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1077         { "smb", "op-WritePrintFile-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1078 
1079         { "smb", "op-ProcessExit-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1080         { "smb", "op-ProcessExit-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1081         { "smb", "op-ProcessExit-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1082         { "smb", "op-ProcessExit-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1083 
1084         { "smb", "op-QueryInformation-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1085         { "smb", "op-QueryInformation-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1086         { "smb", "op-QueryInformation-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
1087         { "smb", "op-QueryInformation-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1088         { "smb", "op-QueryInformation-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1089 
1090         { "smb", "op-QueryInformation2-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1091         { "smb", "op-QueryInformation2-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1092         { "smb", "op-QueryInformation2-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1093         { "smb", "op-QueryInformation2-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1094 
1095         { "smb", "op-Read-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1096         { "smb", "op-Read-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1097         { "smb", "op-Read-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1098         { "smb", "op-Read-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1099         { "smb", "op-Read-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1100         { "smb", "op-Read-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1101 
1102         { "smb", "op-LockAndRead-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1103         { "smb", "op-LockAndRead-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1104         { "smb", "op-LockAndRead-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1105         { "smb", "op-LockAndRead-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1106         { "smb", "op-LockAndRead-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1107         { "smb", "op-LockAndRead-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1108 
1109         { "smb", "op-ReadRaw-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1110         { "smb", "op-ReadRaw-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1111         { "smb", "op-ReadRaw-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1112         { "smb", "op-ReadRaw-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1113         { "smb", "op-ReadRaw-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1114         { "smb", "op-ReadRaw-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1115 
1116         { "smb", "op-ReadX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1117         { "smb", "op-ReadX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1118         { "smb", "op-ReadX-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1119         { "smb", "op-ReadX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1120         { "smb", "op-ReadX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1121         { "smb", "op-ReadX-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1122 
1123         { "smb", "op-Rename-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1124         { "smb", "op-Rename-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1125         { "smb", "op-Rename-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
1126         { "smb", "op-Rename-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1127         { "smb", "op-Rename-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1128 
1129         { "smb", "op-NtRename-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1130         { "smb", "op-NtRename-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1131         { "smb", "op-NtRename-start", 2, 0, "smb_request_t *", "smb_name_args_t *" },
1132         { "smb", "op-NtRename-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1133         { "smb", "op-NtRename-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1134 
1135         { "smb", "op-Seek-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1136         { "smb", "op-Seek-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1137         { "smb", "op-Seek-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1138         { "smb", "op-Seek-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1139 
1140         { "smb", "op-SessionSetupX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1141         { "smb", "op-SessionSetupX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1142         { "smb", "op-SessionSetupX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1143         { "smb", "op-SessionSetupX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1144 
1145         { "smb", "op-SetInformation-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1146         { "smb", "op-SetInformation-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1147         { "smb", "op-SetInformation-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1148         { "smb", "op-SetInformation-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1149 
1150         { "smb", "op-SetInformation2-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1151         { "smb", "op-SetInformation2-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1152         { "smb", "op-SetInformation2-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1153         { "smb", "op-SetInformation2-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1154 
1155         { "smb", "op-FindClose2-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1156         { "smb", "op-FindClose2-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1157         { "smb", "op-FindClose2-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1158         { "smb", "op-FindClose2-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1159 
1160         { "smb", "op-TreeConnect-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1161         { "smb", "op-TreeConnect-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1162         { "smb", "op-TreeConnect-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1163         { "smb", "op-TreeConnect-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1164 
1165         { "smb", "op-TreeConnectX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1166         { "smb", "op-TreeConnectX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1167         { "smb", "op-TreeConnectX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1168         { "smb", "op-TreeConnectX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1169 
1170         { "smb", "op-TreeDisconnect-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1171         { "smb", "op-TreeDisconnect-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1172         { "smb", "op-TreeDisconnect-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1173         { "smb", "op-TreeDisconnect-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1174 
1175         { "smb", "op-UnlockByteRange-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1176         { "smb", "op-UnlockByteRange-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1177         { "smb", "op-UnlockByteRange-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1178         { "smb", "op-UnlockByteRange-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1179 
1180         { "smb", "op-Write-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1181         { "smb", "op-Write-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1182         { "smb", "op-Write-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1183         { "smb", "op-Write-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1184         { "smb", "op-Write-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1185         { "smb", "op-Write-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1186 
1187         { "smb", "op-WriteAndClose-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1188         { "smb", "op-WriteAndClose-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1189         { "smb", "op-WriteAndClose-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1190         { "smb", "op-WriteAndClose-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1191         { "smb", "op-WriteAndClose-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1192         { "smb", "op-WriteAndClose-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1193 
1194         { "smb", "op-WriteAndUnlock-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1195         { "smb", "op-WriteAndUnlock-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1196         { "smb", "op-WriteAndUnlock-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1197         { "smb", "op-WriteAndUnlock-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1198         { "smb", "op-WriteAndUnlock-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1199         { "smb", "op-WriteAndUnlock-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1200 
1201         { "smb", "op-WriteRaw-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1202         { "smb", "op-WriteRaw-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1203         { "smb", "op-WriteRaw-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1204         { "smb", "op-WriteRaw-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1205         { "smb", "op-WriteRaw-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1206         { "smb", "op-WriteRaw-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1207 
1208         { "smb", "op-WriteX-start", 0, 0, "smb_request_t *", "conninfo_t *" },
1209         { "smb", "op-WriteX-start", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1210         { "smb", "op-WriteX-start", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1211         { "smb", "op-WriteX-done", 0, 0, "smb_request_t *", "conninfo_t *" },
1212         { "smb", "op-WriteX-done", 1, 0, "smb_request_t *", "smbopinfo_t *" },
1213         { "smb", "op-WriteX-done", 2, 0, "smb_request_t *", "smb_rw_args_t *" },
1214         /* END CSTYLED */
1215 
1216         { "ip", "send", 0, 0, "mblk_t *", "pktinfo_t *" },
1217         { "ip", "send", 1, 1, "conn_t *", "csinfo_t *" },
1218         { "ip", "send", 2, 2, "void_ip_t *", "ipinfo_t *" },
1219         { "ip", "send", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
1220         { "ip", "send", 4, 4, "ipha_t *", "ipv4info_t *" },
1221         { "ip", "send", 5, 5, "ip6_t *", "ipv6info_t *" },
1222         { "ip", "send", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
1223         { "ip", "receive", 0, 0, "mblk_t *", "pktinfo_t *" },
1224         { "ip", "receive", 1, 1, "conn_t *", "csinfo_t *" },
1225         { "ip", "receive", 2, 2, "void_ip_t *", "ipinfo_t *" },
1226         { "ip", "receive", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
1227         { "ip", "receive", 4, 4, "ipha_t *", "ipv4info_t *" },
1228         { "ip", "receive", 5, 5, "ip6_t *", "ipv6info_t *" },
1229         { "ip", "receive", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
1230 
1231         { "tcp", "connect-established", 0, 0, "mblk_t *", "pktinfo_t *" },
1232         { "tcp", "connect-established", 1, 1, "ip_xmit_attr_t *",
1233             "csinfo_t *" },
1234         { "tcp", "connect-established", 2, 2, "void_ip_t *", "ipinfo_t *" },
1235         { "tcp", "connect-established", 3, 3, "tcp_t *", "tcpsinfo_t *" },