xref: /titanic_50/usr/src/uts/common/dtrace/sdt_subr.c (revision e0e638160d72f8685f1481f6308bc368cd233c3f)
1 /*
2  * CDDL HEADER START
3  *
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 2009 Sun Microsystems, Inc.  All rights reserved.
23  * Use is subject to license terms.
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 
44 static dtrace_pattr_t fc_attr = {
45 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
46 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
47 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
48 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
49 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
50 };
51 
52 static dtrace_pattr_t fpu_attr = {
53 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
54 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
55 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
56 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_CPU },
57 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
58 };
59 
60 static dtrace_pattr_t fsinfo_attr = {
61 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
62 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
63 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
64 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
65 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
66 };
67 
68 static dtrace_pattr_t stab_attr = {
69 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
70 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
71 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
72 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
73 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
74 };
75 
76 static dtrace_pattr_t sdt_attr = {
77 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
78 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
79 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
80 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
81 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
82 };
83 
84 static dtrace_pattr_t xpv_attr = {
85 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_PLATFORM },
86 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
87 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
88 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_PLATFORM },
89 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_PLATFORM },
90 };
91 
92 static dtrace_pattr_t iscsi_attr = {
93 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
94 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
95 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
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, 0 },
102 	{ "sysinfo", "__cpu_sysinfo_", &info_attr, 0 },
103 	{ "vminfo", "__cpu_vminfo_", &info_attr, 0 },
104 	{ "fpuinfo", "__fpuinfo_", &fpu_attr, 0 },
105 	{ "sched", "__sched_", &stab_attr, 0 },
106 	{ "proc", "__proc_", &stab_attr, 0 },
107 	{ "io", "__io_", &stab_attr, 0 },
108 	{ "ip", "__ip_", &stab_attr, 0 },
109 	{ "mib", "__mib_", &stab_attr, 0 },
110 	{ "fsinfo", "__fsinfo_", &fsinfo_attr, 0 },
111 	{ "iscsi", "__iscsi_", &iscsi_attr, 0 },
112 	{ "nfsv3", "__nfsv3_", &stab_attr, 0 },
113 	{ "nfsv4", "__nfsv4_", &stab_attr, 0 },
114 	{ "xpv", "__xpv_", &xpv_attr, 0 },
115 	{ "fc", "__fc_", &fc_attr, 0 },
116 	{ "srp", "__srp_", &fc_attr, 0 },
117 	{ "sysevent", "__sysevent_", &stab_attr, 0 },
118 	{ "sdt", NULL, &sdt_attr, 0 },
119 	{ NULL }
120 };
121 
122 sdt_argdesc_t sdt_args[] = {
123 	{ "sched", "wakeup", 0, 0, "kthread_t *", "lwpsinfo_t *" },
124 	{ "sched", "wakeup", 1, 0, "kthread_t *", "psinfo_t *" },
125 	{ "sched", "dequeue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
126 	{ "sched", "dequeue", 1, 0, "kthread_t *", "psinfo_t *" },
127 	{ "sched", "dequeue", 2, 1, "disp_t *", "cpuinfo_t *" },
128 	{ "sched", "enqueue", 0, 0, "kthread_t *", "lwpsinfo_t *" },
129 	{ "sched", "enqueue", 1, 0, "kthread_t *", "psinfo_t *" },
130 	{ "sched", "enqueue", 2, 1, "disp_t *", "cpuinfo_t *" },
131 	{ "sched", "enqueue", 3, 2, "int" },
132 	{ "sched", "off-cpu", 0, 0, "kthread_t *", "lwpsinfo_t *" },
133 	{ "sched", "off-cpu", 1, 0, "kthread_t *", "psinfo_t *" },
134 	{ "sched", "tick", 0, 0, "kthread_t *", "lwpsinfo_t *" },
135 	{ "sched", "tick", 1, 0, "kthread_t *", "psinfo_t *" },
136 	{ "sched", "change-pri", 0, 0, "kthread_t *", "lwpsinfo_t *" },
137 	{ "sched", "change-pri", 1, 0, "kthread_t *", "psinfo_t *" },
138 	{ "sched", "change-pri", 2, 1, "pri_t" },
139 	{ "sched", "schedctl-nopreempt", 0, 0, "kthread_t *", "lwpsinfo_t *" },
140 	{ "sched", "schedctl-nopreempt", 1, 0, "kthread_t *", "psinfo_t *" },
141 	{ "sched", "schedctl-nopreempt", 2, 1, "int" },
142 	{ "sched", "schedctl-preempt", 0, 0, "kthread_t *", "lwpsinfo_t *" },
143 	{ "sched", "schedctl-preempt", 1, 0, "kthread_t *", "psinfo_t *" },
144 	{ "sched", "schedctl-yield", 0, 0, "int" },
145 	{ "sched", "surrender", 0, 0, "kthread_t *", "lwpsinfo_t *" },
146 	{ "sched", "surrender", 1, 0, "kthread_t *", "psinfo_t *" },
147 	{ "sched", "cpucaps-sleep", 0, 0, "kthread_t *", "lwpsinfo_t *" },
148 	{ "sched", "cpucaps-sleep", 1, 0, "kthread_t *", "psinfo_t *" },
149 	{ "sched", "cpucaps-wakeup", 0, 0, "kthread_t *", "lwpsinfo_t *" },
150 	{ "sched", "cpucaps-wakeup", 1, 0, "kthread_t *", "psinfo_t *" },
151 
152 	{ "proc", "create", 0, 0, "proc_t *", "psinfo_t *" },
153 	{ "proc", "exec", 0, 0, "string" },
154 	{ "proc", "exec-failure", 0, 0, "int" },
155 	{ "proc", "exit", 0, 0, "int" },
156 	{ "proc", "fault", 0, 0, "int" },
157 	{ "proc", "fault", 1, 1, "siginfo_t *" },
158 	{ "proc", "lwp-create", 0, 0, "kthread_t *", "lwpsinfo_t *" },
159 	{ "proc", "lwp-create", 1, 0, "kthread_t *", "psinfo_t *" },
160 	{ "proc", "signal-clear", 0, 0, "int" },
161 	{ "proc", "signal-clear", 1, 1, "siginfo_t *" },
162 	{ "proc", "signal-discard", 0, 0, "kthread_t *", "lwpsinfo_t *" },
163 	{ "proc", "signal-discard", 1, 1, "proc_t *", "psinfo_t *" },
164 	{ "proc", "signal-discard", 2, 2, "int" },
165 	{ "proc", "signal-handle", 0, 0, "int" },
166 	{ "proc", "signal-handle", 1, 1, "siginfo_t *" },
167 	{ "proc", "signal-handle", 2, 2, "void (*)(void)" },
168 	{ "proc", "signal-send", 0, 0, "kthread_t *", "lwpsinfo_t *" },
169 	{ "proc", "signal-send", 1, 0, "kthread_t *", "psinfo_t *" },
170 	{ "proc", "signal-send", 2, 1, "int" },
171 
172 	{ "io", "start", 0, 0, "buf_t *", "bufinfo_t *" },
173 	{ "io", "start", 1, 0, "buf_t *", "devinfo_t *" },
174 	{ "io", "start", 2, 0, "buf_t *", "fileinfo_t *" },
175 	{ "io", "done", 0, 0, "buf_t *", "bufinfo_t *" },
176 	{ "io", "done", 1, 0, "buf_t *", "devinfo_t *" },
177 	{ "io", "done", 2, 0, "buf_t *", "fileinfo_t *" },
178 	{ "io", "wait-start", 0, 0, "buf_t *", "bufinfo_t *" },
179 	{ "io", "wait-start", 1, 0, "buf_t *", "devinfo_t *" },
180 	{ "io", "wait-start", 2, 0, "buf_t *", "fileinfo_t *" },
181 	{ "io", "wait-done", 0, 0, "buf_t *", "bufinfo_t *" },
182 	{ "io", "wait-done", 1, 0, "buf_t *", "devinfo_t *" },
183 	{ "io", "wait-done", 2, 0, "buf_t *", "fileinfo_t *" },
184 
185 	{ "mib", NULL, 0, 0, "int" },
186 
187 	{ "fsinfo", NULL, 0, 0, "vnode_t *", "fileinfo_t *" },
188 	{ "fsinfo", NULL, 1, 1, "int", "int" },
189 
190 	{ "iscsi", "async-send", 0, 0, "idm_conn_t *", "conninfo_t *" },
191 	{ "iscsi", "async-send", 1, 1, "iscsi_async_evt_hdr_t *",
192 	    "iscsiinfo_t *" },
193 	{ "iscsi", "login-command", 0, 0, "idm_conn_t *", "conninfo_t *" },
194 	{ "iscsi", "login-command", 1, 1, "iscsi_login_hdr_t *",
195 	    "iscsiinfo_t *" },
196 	{ "iscsi", "login-response", 0, 0, "idm_conn_t *", "conninfo_t *" },
197 	{ "iscsi", "login-response", 1, 1, "iscsi_login_rsp_hdr_t *",
198 	    "iscsiinfo_t *" },
199 	{ "iscsi", "logout-command", 0, 0, "idm_conn_t *", "conninfo_t *" },
200 	{ "iscsi", "logout-command", 1, 1, "iscsi_logout_hdr_t *",
201 	    "iscsiinfo_t *" },
202 	{ "iscsi", "logout-response", 0, 0, "idm_conn_t *", "conninfo_t *" },
203 	{ "iscsi", "logout-response", 1, 1, "iscsi_logout_rsp_hdr_t *",
204 	    "iscsiinfo_t *" },
205 	{ "iscsi", "data-request", 0, 0, "idm_conn_t *", "conninfo_t *" },
206 	{ "iscsi", "data-request", 1, 1, "iscsi_rtt_hdr_t *",
207 	    "iscsiinfo_t *" },
208 	{ "iscsi", "data-send", 0, 0, "idm_conn_t *", "conninfo_t *" },
209 	{ "iscsi", "data-send", 1, 1, "iscsi_data_rsp_hdr_t *",
210 	    "iscsiinfo_t *" },
211 	{ "iscsi", "data-receive", 0, 0, "idm_conn_t *", "conninfo_t *" },
212 	{ "iscsi", "data-receive", 1, 1, "iscsi_data_hdr_t *",
213 	    "iscsiinfo_t *" },
214 	{ "iscsi", "nop-send", 0, 0, "idm_conn_t *", "conninfo_t *" },
215 	{ "iscsi", "nop-send", 1, 1, "iscsi_nop_in_hdr_t *", "iscsiinfo_t *" },
216 	{ "iscsi", "nop-receive", 0, 0, "idm_conn_t *", "conninfo_t *" },
217 	{ "iscsi", "nop-receive", 1, 1, "iscsi_nop_out_hdr_t *",
218 	    "iscsiinfo_t *" },
219 	{ "iscsi", "scsi-command", 0, 0, "idm_conn_t *", "conninfo_t *" },
220 	{ "iscsi", "scsi-command", 1, 1, "iscsi_scsi_cmd_hdr_t *",
221 	    "iscsiinfo_t *" },
222 	{ "iscsi", "scsi-command", 2, 2, "scsi_task_t *", "scsicmd_t *" },
223 	{ "iscsi", "scsi-response", 0, 0, "idm_conn_t *", "conninfo_t *" },
224 	{ "iscsi", "scsi-response", 1, 1, "iscsi_scsi_rsp_hdr_t *",
225 	    "iscsiinfo_t *" },
226 	{ "iscsi", "task-command", 0, 0, "idm_conn_t *", "conninfo_t *" },
227 	{ "iscsi", "task-command", 1, 1, "iscsi_scsi_task_mgt_hdr_t *",
228 	    "iscsiinfo_t *" },
229 	{ "iscsi", "task-response", 0, 0, "idm_conn_t *", "conninfo_t *" },
230 	{ "iscsi", "task-response", 1, 1, "iscsi_scsi_task_mgt_rsp_hdr_t *",
231 	    "iscsiinfo_t *" },
232 	{ "iscsi", "text-command", 0, 0, "idm_conn_t *", "conninfo_t *" },
233 	{ "iscsi", "text-command", 1, 1, "iscsi_text_hdr_t *",
234 	    "iscsiinfo_t *" },
235 	{ "iscsi", "text-response", 0, 0, "idm_conn_t *", "conninfo_t *" },
236 	{ "iscsi", "text-response", 1, 1, "iscsi_text_rsp_hdr_t *",
237 	    "iscsiinfo_t *" },
238 	{ "iscsi", "xfer-start", 0, 0, "idm_conn_t *", "conninfo_t *" },
239 	{ "iscsi", "xfer-start", 1, 0, "idm_conn_t *", "iscsiinfo_t *" },
240 	{ "iscsi", "xfer-start", 2, 1, "uintptr_t", "xferinfo_t *" },
241 	{ "iscsi", "xfer-start", 3, 2, "uint32_t"},
242 	{ "iscsi", "xfer-start", 4, 3, "uintptr_t"},
243 	{ "iscsi", "xfer-start", 5, 4, "uint32_t"},
244 	{ "iscsi", "xfer-start", 6, 5, "uint32_t"},
245 	{ "iscsi", "xfer-start", 7, 6, "uint32_t"},
246 	{ "iscsi", "xfer-start", 8, 7, "int"},
247 	{ "iscsi", "xfer-done", 0, 0, "idm_conn_t *", "conninfo_t *" },
248 	{ "iscsi", "xfer-done", 1, 0, "idm_conn_t *", "iscsiinfo_t *" },
249 	{ "iscsi", "xfer-done", 2, 1, "uintptr_t", "xferinfo_t *" },
250 	{ "iscsi", "xfer-done", 3, 2, "uint32_t"},
251 	{ "iscsi", "xfer-done", 4, 3, "uintptr_t"},
252 	{ "iscsi", "xfer-done", 5, 4, "uint32_t"},
253 	{ "iscsi", "xfer-done", 6, 5, "uint32_t"},
254 	{ "iscsi", "xfer-done", 7, 6, "uint32_t"},
255 	{ "iscsi", "xfer-done", 8, 7, "int"},
256 
257 	{ "nfsv3", "op-getattr-start", 0, 0, "struct svc_req *",
258 	    "conninfo_t *" },
259 	{ "nfsv3", "op-getattr-start", 1, 1, "nfsv3oparg_t *",
260 	    "nfsv3opinfo_t *" },
261 	{ "nfsv3", "op-getattr-start", 2, 3, "GETATTR3args *" },
262 	{ "nfsv3", "op-getattr-done", 0, 0, "struct svc_req *",
263 	    "conninfo_t *" },
264 	{ "nfsv3", "op-getattr-done", 1, 1, "nfsv3oparg_t *",
265 	    "nfsv3opinfo_t *" },
266 	{ "nfsv3", "op-getattr-done", 2, 3, "GETATTR3res *" },
267 	{ "nfsv3", "op-setattr-start", 0, 0, "struct svc_req *",
268 	    "conninfo_t *" },
269 	{ "nfsv3", "op-setattr-start", 1, 1, "nfsv3oparg_t *",
270 	    "nfsv3opinfo_t *" },
271 	{ "nfsv3", "op-setattr-start", 2, 3, "SETATTR3args *" },
272 	{ "nfsv3", "op-setattr-done", 0, 0, "struct svc_req *",
273 	    "conninfo_t *" },
274 	{ "nfsv3", "op-setattr-done", 1, 1, "nfsv3oparg_t *",
275 	    "nfsv3opinfo_t *" },
276 	{ "nfsv3", "op-setattr-done", 2, 3, "SETATTR3res *" },
277 	{ "nfsv3", "op-lookup-start", 0, 0, "struct svc_req *",
278 	    "conninfo_t *" },
279 	{ "nfsv3", "op-lookup-start", 1, 1, "nfsv3oparg_t *",
280 	    "nfsv3opinfo_t *" },
281 	{ "nfsv3", "op-lookup-start", 2, 3, "LOOKUP3args *" },
282 	{ "nfsv3", "op-lookup-done", 0, 0, "struct svc_req *",
283 	    "conninfo_t *" },
284 	{ "nfsv3", "op-lookup-done", 1, 1, "nfsv3oparg_t *",
285 	    "nfsv3opinfo_t *" },
286 	{ "nfsv3", "op-lookup-done", 2, 3, "LOOKUP3res *" },
287 	{ "nfsv3", "op-access-start", 0, 0, "struct svc_req *",
288 	    "conninfo_t *" },
289 	{ "nfsv3", "op-access-start", 1, 1, "nfsv3oparg_t *",
290 	    "nfsv3opinfo_t *" },
291 	{ "nfsv3", "op-access-start", 2, 3, "ACCESS3args *" },
292 	{ "nfsv3", "op-access-done", 0, 0, "struct svc_req *",
293 	    "conninfo_t *" },
294 	{ "nfsv3", "op-access-done", 1, 1, "nfsv3oparg_t *",
295 	    "nfsv3opinfo_t *" },
296 	{ "nfsv3", "op-access-done", 2, 3, "ACCESS3res *" },
297 	{ "nfsv3", "op-commit-start", 0, 0, "struct svc_req *",
298 	    "conninfo_t *" },
299 	{ "nfsv3", "op-commit-start", 1, 1, "nfsv3oparg_t *",
300 	    "nfsv3opinfo_t *" },
301 	{ "nfsv3", "op-commit-start", 2, 3, "COMMIT3args *" },
302 	{ "nfsv3", "op-commit-done", 0, 0, "struct svc_req *",
303 	    "conninfo_t *" },
304 	{ "nfsv3", "op-commit-done", 1, 1, "nfsv3oparg_t *",
305 	    "nfsv3opinfo_t *" },
306 	{ "nfsv3", "op-commit-done", 2, 3, "COMMIT3res *" },
307 	{ "nfsv3", "op-create-start", 0, 0, "struct svc_req *",
308 	    "conninfo_t *" },
309 	{ "nfsv3", "op-create-start", 1, 1, "nfsv3oparg_t *",
310 	    "nfsv3opinfo_t *" },
311 	{ "nfsv3", "op-create-start", 2, 3, "CREATE3args *" },
312 	{ "nfsv3", "op-create-done", 0, 0, "struct svc_req *",
313 	    "conninfo_t *" },
314 	{ "nfsv3", "op-create-done", 1, 1, "nfsv3oparg_t *",
315 	    "nfsv3opinfo_t *" },
316 	{ "nfsv3", "op-create-done", 2, 3, "CREATE3res *" },
317 	{ "nfsv3", "op-fsinfo-start", 0, 0, "struct svc_req *",
318 	    "conninfo_t *" },
319 	{ "nfsv3", "op-fsinfo-start", 1, 1, "nfsv3oparg_t *",
320 	    "nfsv3opinfo_t *" },
321 	{ "nfsv3", "op-fsinfo-start", 2, 3, "FSINFO3args *" },
322 	{ "nfsv3", "op-fsinfo-done", 0, 0, "struct svc_req *",
323 	    "conninfo_t *" },
324 	{ "nfsv3", "op-fsinfo-done", 1, 1, "nfsv3oparg_t *",
325 	    "nfsv3opinfo_t *" },
326 	{ "nfsv3", "op-fsinfo-done", 2, 3, "FSINFO3res *" },
327 	{ "nfsv3", "op-fsstat-start", 0, 0, "struct svc_req *",
328 	    "conninfo_t *" },
329 	{ "nfsv3", "op-fsstat-start", 1, 1, "nfsv3oparg_t *",
330 	    "nfsv3opinfo_t *" },
331 	{ "nfsv3", "op-fsstat-start", 2, 3, "FSSTAT3args *" },
332 	{ "nfsv3", "op-fsstat-done", 0, 0, "struct svc_req *",
333 	    "conninfo_t *" },
334 	{ "nfsv3", "op-fsstat-done", 1, 1, "nfsv3oparg_t *",
335 	    "nfsv3opinfo_t *" },
336 	{ "nfsv3", "op-fsstat-done", 2, 3, "FSSTAT3res *" },
337 	{ "nfsv3", "op-link-start", 0, 0, "struct svc_req *",
338 	    "conninfo_t *" },
339 	{ "nfsv3", "op-link-start", 1, 1, "nfsv3oparg_t *",
340 	    "nfsv3opinfo_t *" },
341 	{ "nfsv3", "op-link-start", 2, 3, "LINK3args *" },
342 	{ "nfsv3", "op-link-done", 0, 0, "struct svc_req *",
343 	    "conninfo_t *" },
344 	{ "nfsv3", "op-link-done", 1, 1, "nfsv3oparg_t *",
345 	    "nfsv3opinfo_t *" },
346 	{ "nfsv3", "op-link-done", 2, 3, "LINK3res *" },
347 	{ "nfsv3", "op-mkdir-start", 0, 0, "struct svc_req *",
348 	    "conninfo_t *" },
349 	{ "nfsv3", "op-mkdir-start", 1, 1, "nfsv3oparg_t *",
350 	    "nfsv3opinfo_t *" },
351 	{ "nfsv3", "op-mkdir-start", 2, 3, "MKDIR3args *" },
352 	{ "nfsv3", "op-mkdir-done", 0, 0, "struct svc_req *",
353 	    "conninfo_t *" },
354 	{ "nfsv3", "op-mkdir-done", 1, 1, "nfsv3oparg_t *",
355 	    "nfsv3opinfo_t *" },
356 	{ "nfsv3", "op-mkdir-done", 2, 3, "MKDIR3res *" },
357 	{ "nfsv3", "op-mknod-start", 0, 0, "struct svc_req *",
358 	    "conninfo_t *" },
359 	{ "nfsv3", "op-mknod-start", 1, 1, "nfsv3oparg_t *",
360 	    "nfsv3opinfo_t *" },
361 	{ "nfsv3", "op-mknod-start", 2, 3, "MKNOD3args *" },
362 	{ "nfsv3", "op-mknod-done", 0, 0, "struct svc_req *",
363 	    "conninfo_t *" },
364 	{ "nfsv3", "op-mknod-done", 1, 1, "nfsv3oparg_t *",
365 	    "nfsv3opinfo_t *" },
366 	{ "nfsv3", "op-mknod-done", 2, 3, "MKNOD3res *" },
367 	{ "nfsv3", "op-null-start", 0, 0, "struct svc_req *",
368 	    "conninfo_t *" },
369 	{ "nfsv3", "op-null-start", 1, 1, "nfsv3oparg_t *",
370 	    "nfsv3opinfo_t *" },
371 	{ "nfsv3", "op-null-done", 0, 0, "struct svc_req *",
372 	    "conninfo_t *" },
373 	{ "nfsv3", "op-null-done", 1, 1, "nfsv3oparg_t *",
374 	    "nfsv3opinfo_t *" },
375 	{ "nfsv3", "op-pathconf-start", 0, 0, "struct svc_req *",
376 	    "conninfo_t *" },
377 	{ "nfsv3", "op-pathconf-start", 1, 1, "nfsv3oparg_t *",
378 	    "nfsv3opinfo_t *" },
379 	{ "nfsv3", "op-pathconf-start", 2, 3, "PATHCONF3args *" },
380 	{ "nfsv3", "op-pathconf-done", 0, 0, "struct svc_req *",
381 	    "conninfo_t *" },
382 	{ "nfsv3", "op-pathconf-done", 1, 1, "nfsv3oparg_t *",
383 	    "nfsv3opinfo_t *" },
384 	{ "nfsv3", "op-pathconf-done", 2, 3, "PATHCONF3res *" },
385 	{ "nfsv3", "op-read-start", 0, 0, "struct svc_req *",
386 	    "conninfo_t *" },
387 	{ "nfsv3", "op-read-start", 1, 1, "nfsv3oparg_t *",
388 	    "nfsv3opinfo_t *" },
389 	{ "nfsv3", "op-read-start", 2, 3, "READ3args *" },
390 	{ "nfsv3", "op-read-done", 0, 0, "struct svc_req *",
391 	    "conninfo_t *" },
392 	{ "nfsv3", "op-read-done", 1, 1, "nfsv3oparg_t *",
393 	    "nfsv3opinfo_t *" },
394 	{ "nfsv3", "op-read-done", 2, 3, "READ3res *" },
395 	{ "nfsv3", "op-readdir-start", 0, 0, "struct svc_req *",
396 	    "conninfo_t *" },
397 	{ "nfsv3", "op-readdir-start", 1, 1, "nfsv3oparg_t *",
398 	    "nfsv3opinfo_t *" },
399 	{ "nfsv3", "op-readdir-start", 2, 3, "READDIR3args *" },
400 	{ "nfsv3", "op-readdir-done", 0, 0, "struct svc_req *",
401 	    "conninfo_t *" },
402 	{ "nfsv3", "op-readdir-done", 1, 1, "nfsv3oparg_t *",
403 	    "nfsv3opinfo_t *" },
404 	{ "nfsv3", "op-readdir-done", 2, 3, "READDIR3res *" },
405 	{ "nfsv3", "op-readdirplus-start", 0, 0, "struct svc_req *",
406 	    "conninfo_t *" },
407 	{ "nfsv3", "op-readdirplus-start", 1, 1, "nfsv3oparg_t *",
408 	    "nfsv3opinfo_t *" },
409 	{ "nfsv3", "op-readdirplus-start", 2, 3, "READDIRPLUS3args *" },
410 	{ "nfsv3", "op-readdirplus-done", 0, 0, "struct svc_req *",
411 	    "conninfo_t *" },
412 	{ "nfsv3", "op-readdirplus-done", 1, 1, "nfsv3oparg_t *",
413 	    "nfsv3opinfo_t *" },
414 	{ "nfsv3", "op-readdirplus-done", 2, 3, "READDIRPLUS3res *" },
415 	{ "nfsv3", "op-readlink-start", 0, 0, "struct svc_req *",
416 	    "conninfo_t *" },
417 	{ "nfsv3", "op-readlink-start", 1, 1, "nfsv3oparg_t *",
418 	    "nfsv3opinfo_t *" },
419 	{ "nfsv3", "op-readlink-start", 2, 3, "READLINK3args *" },
420 	{ "nfsv3", "op-readlink-done", 0, 0, "struct svc_req *",
421 	    "conninfo_t *" },
422 	{ "nfsv3", "op-readlink-done", 1, 1, "nfsv3oparg_t *",
423 	    "nfsv3opinfo_t *" },
424 	{ "nfsv3", "op-readlink-done", 2, 3, "READLINK3res *" },
425 	{ "nfsv3", "op-remove-start", 0, 0, "struct svc_req *",
426 	    "conninfo_t *" },
427 	{ "nfsv3", "op-remove-start", 1, 1, "nfsv3oparg_t *",
428 	    "nfsv3opinfo_t *" },
429 	{ "nfsv3", "op-remove-start", 2, 3, "REMOVE3args *" },
430 	{ "nfsv3", "op-remove-done", 0, 0, "struct svc_req *",
431 	    "conninfo_t *" },
432 	{ "nfsv3", "op-remove-done", 1, 1, "nfsv3oparg_t *",
433 	    "nfsv3opinfo_t *" },
434 	{ "nfsv3", "op-remove-done", 2, 3, "REMOVE3res *" },
435 	{ "nfsv3", "op-rename-start", 0, 0, "struct svc_req *",
436 	    "conninfo_t *" },
437 	{ "nfsv3", "op-rename-start", 1, 1, "nfsv3oparg_t *",
438 	    "nfsv3opinfo_t *" },
439 	{ "nfsv3", "op-rename-start", 2, 3, "RENAME3args *" },
440 	{ "nfsv3", "op-rename-done", 0, 0, "struct svc_req *",
441 	    "conninfo_t *" },
442 	{ "nfsv3", "op-rename-done", 1, 1, "nfsv3oparg_t *",
443 	    "nfsv3opinfo_t *" },
444 	{ "nfsv3", "op-rename-done", 2, 3, "RENAME3res *" },
445 	{ "nfsv3", "op-rmdir-start", 0, 0, "struct svc_req *",
446 	    "conninfo_t *" },
447 	{ "nfsv3", "op-rmdir-start", 1, 1, "nfsv3oparg_t *",
448 	    "nfsv3opinfo_t *" },
449 	{ "nfsv3", "op-rmdir-start", 2, 3, "RMDIR3args *" },
450 	{ "nfsv3", "op-rmdir-done", 0, 0, "struct svc_req *",
451 	    "conninfo_t *" },
452 	{ "nfsv3", "op-rmdir-done", 1, 1, "nfsv3oparg_t *",
453 	    "nfsv3opinfo_t *" },
454 	{ "nfsv3", "op-rmdir-done", 2, 3, "RMDIR3res *" },
455 	{ "nfsv3", "op-setattr-start", 0, 0, "struct svc_req *",
456 	    "conninfo_t *" },
457 	{ "nfsv3", "op-setattr-start", 1, 1, "nfsv3oparg_t *",
458 	    "nfsv3opinfo_t *" },
459 	{ "nfsv3", "op-setattr-start", 2, 3, "SETATTR3args *" },
460 	{ "nfsv3", "op-setattr-done", 0, 0, "struct svc_req *",
461 	    "conninfo_t *" },
462 	{ "nfsv3", "op-setattr-done", 1, 1, "nfsv3oparg_t *",
463 	    "nfsv3opinfo_t *" },
464 	{ "nfsv3", "op-setattr-done", 2, 3, "SETATTR3res *" },
465 	{ "nfsv3", "op-symlink-start", 0, 0, "struct svc_req *",
466 	    "conninfo_t *" },
467 	{ "nfsv3", "op-symlink-start", 1, 1, "nfsv3oparg_t *",
468 	    "nfsv3opinfo_t *" },
469 	{ "nfsv3", "op-symlink-start", 2, 3, "SYMLINK3args *" },
470 	{ "nfsv3", "op-symlink-done", 0, 0, "struct svc_req *",
471 	    "conninfo_t *" },
472 	{ "nfsv3", "op-symlink-done", 1, 1, "nfsv3oparg_t *",
473 	    "nfsv3opinfo_t *" },
474 	{ "nfsv3", "op-symlink-done", 2, 3, "SYMLINK3res *" },
475 	{ "nfsv3", "op-write-start", 0, 0, "struct svc_req *",
476 	    "conninfo_t *" },
477 	{ "nfsv3", "op-write-start", 1, 1, "nfsv3oparg_t *",
478 	    "nfsv3opinfo_t *" },
479 	{ "nfsv3", "op-write-start", 2, 3, "WRITE3args *" },
480 	{ "nfsv3", "op-write-done", 0, 0, "struct svc_req *",
481 	    "conninfo_t *" },
482 	{ "nfsv3", "op-write-done", 1, 1, "nfsv3oparg_t *",
483 	    "nfsv3opinfo_t *" },
484 	{ "nfsv3", "op-write-done", 2, 3, "WRITE3res *" },
485 
486 	{ "nfsv4", "null-start", 0, 0, "struct svc_req *", "conninfo_t *" },
487 	{ "nfsv4", "null-done", 0, 0, "struct svc_req *", "conninfo_t *" },
488 	{ "nfsv4", "compound-start", 0, 0, "struct compound_state *",
489 	    "conninfo_t *" },
490 	{ "nfsv4", "compound-start", 1, 0, "struct compound_state *",
491 	    "nfsv4opinfo_t *" },
492 	{ "nfsv4", "compound-start", 2, 1, "COMPOUND4args *" },
493 	{ "nfsv4", "compound-done", 0, 0, "struct compound_state *",
494 	    "conninfo_t *" },
495 	{ "nfsv4", "compound-done", 1, 0, "struct compound_state *",
496 	    "nfsv4opinfo_t *" },
497 	{ "nfsv4", "compound-done", 2, 1, "COMPOUND4res *" },
498 	{ "nfsv4", "op-access-start", 0, 0, "struct compound_state *",
499 	    "conninfo_t *"},
500 	{ "nfsv4", "op-access-start", 1, 0, "struct compound_state *",
501 	    "nfsv4opinfo_t *" },
502 	{ "nfsv4", "op-access-start", 2, 1, "ACCESS4args *" },
503 	{ "nfsv4", "op-access-done", 0, 0, "struct compound_state *",
504 	    "conninfo_t *" },
505 	{ "nfsv4", "op-access-done", 1, 0, "struct compound_state *",
506 	    "nfsv4opinfo_t *" },
507 	{ "nfsv4", "op-access-done", 2, 1, "ACCESS4res *" },
508 	{ "nfsv4", "op-close-start", 0, 0, "struct compound_state *",
509 	    "conninfo_t *" },
510 	{ "nfsv4", "op-close-start", 1, 0, "struct compound_state *",
511 	    "nfsv4opinfo_t *" },
512 	{ "nfsv4", "op-close-start", 2, 1, "CLOSE4args *" },
513 	{ "nfsv4", "op-close-done", 0, 0, "struct compound_state *",
514 	    "conninfo_t *" },
515 	{ "nfsv4", "op-close-done", 1, 0, "struct compound_state *",
516 	    "nfsv4opinfo_t *" },
517 	{ "nfsv4", "op-close-done", 2, 1, "CLOSE4res *" },
518 	{ "nfsv4", "op-commit-start", 0, 0, "struct compound_state *",
519 	    "conninfo_t *" },
520 	{ "nfsv4", "op-commit-start", 1, 0, "struct compound_state *",
521 	    "nfsv4opinfo_t *" },
522 	{ "nfsv4", "op-commit-start", 2, 1, "COMMIT4args *" },
523 	{ "nfsv4", "op-commit-done", 0, 0, "struct compound_state *",
524 	    "conninfo_t *" },
525 	{ "nfsv4", "op-commit-done", 1, 0, "struct compound_state *",
526 	    "nfsv4opinfo_t *" },
527 	{ "nfsv4", "op-commit-done", 2, 1, "COMMIT4res *" },
528 	{ "nfsv4", "op-create-start", 0, 0, "struct compound_state *",
529 	    "conninfo_t *" },
530 	{ "nfsv4", "op-create-start", 1, 0, "struct compound_state *",
531 	    "nfsv4opinfo_t *" },
532 	{ "nfsv4", "op-create-start", 2, 1, "CREATE4args *" },
533 	{ "nfsv4", "op-create-done", 0, 0, "struct compound_state *",
534 	    "conninfo_t *" },
535 	{ "nfsv4", "op-create-done", 1, 0, "struct compound_state *",
536 	    "nfsv4opinfo_t *" },
537 	{ "nfsv4", "op-create-done", 2, 1, "CREATE4res *" },
538 	{ "nfsv4", "op-delegpurge-start", 0, 0, "struct compound_state *",
539 	    "conninfo_t *" },
540 	{ "nfsv4", "op-delegpurge-start", 1, 0, "struct compound_state *",
541 	    "nfsv4opinfo_t *" },
542 	{ "nfsv4", "op-delegpurge-start", 2, 1, "DELEGPURGE4args *" },
543 	{ "nfsv4", "op-delegpurge-done", 0, 0, "struct compound_state *",
544 	    "conninfo_t *" },
545 	{ "nfsv4", "op-delegpurge-done", 1, 0, "struct compound_state *",
546 	    "nfsv4opinfo_t *" },
547 	{ "nfsv4", "op-delegpurge-done", 2, 1, "DELEGPURGE4res *" },
548 	{ "nfsv4", "op-delegreturn-start", 0, 0, "struct compound_state *",
549 	    "conninfo_t *" },
550 	{ "nfsv4", "op-delegreturn-start", 1, 0, "struct compound_state *",
551 	    "nfsv4opinfo_t *" },
552 	{ "nfsv4", "op-delegreturn-start", 2, 1, "DELEGRETURN4args *" },
553 	{ "nfsv4", "op-delegreturn-done", 0, 0, "struct compound_state *",
554 	    "conninfo_t *" },
555 	{ "nfsv4", "op-delegreturn-done", 1, 0, "struct compound_state *",
556 	    "nfsv4opinfo_t *" },
557 	{ "nfsv4", "op-delegreturn-done", 2, 1, "DELEGRETURN4res *" },
558 	{ "nfsv4", "op-getattr-start", 0, 0, "struct compound_state *",
559 	    "conninfo_t *" },
560 	{ "nfsv4", "op-getattr-start", 1, 0, "struct compound_state *",
561 	    "nfsv4opinfo_t *" },
562 	{ "nfsv4", "op-getattr-start", 2, 1, "GETATTR4args *" },
563 	{ "nfsv4", "op-getattr-done", 0, 0, "struct compound_state *",
564 	    "conninfo_t *" },
565 	{ "nfsv4", "op-getattr-done", 1, 0, "struct compound_state *",
566 	    "nfsv4opinfo_t *" },
567 	{ "nfsv4", "op-getattr-done", 2, 1, "GETATTR4res *" },
568 	{ "nfsv4", "op-getfh-start", 0, 0, "struct compound_state *",
569 	    "conninfo_t *" },
570 	{ "nfsv4", "op-getfh-start", 1, 0, "struct compound_state *",
571 	    "nfsv4opinfo_t *" },
572 	{ "nfsv4", "op-getfh-done", 0, 0, "struct compound_state *",
573 	    "conninfo_t *" },
574 	{ "nfsv4", "op-getfh-done", 1, 0, "struct compound_state *",
575 	    "nfsv4opinfo_t *" },
576 	{ "nfsv4", "op-getfh-done", 2, 1, "GETFH4res *" },
577 	{ "nfsv4", "op-link-start", 0, 0, "struct compound_state *",
578 	    "conninfo_t *" },
579 	{ "nfsv4", "op-link-start", 1, 0, "struct compound_state *",
580 	    "nfsv4opinfo_t *" },
581 	{ "nfsv4", "op-link-start", 2, 1, "LINK4args *" },
582 	{ "nfsv4", "op-link-done", 0, 0, "struct compound_state *",
583 	    "conninfo_t *" },
584 	{ "nfsv4", "op-link-done", 1, 0, "struct compound_state *",
585 	    "nfsv4opinfo_t *" },
586 	{ "nfsv4", "op-link-done", 2, 1, "LINK4res *" },
587 	{ "nfsv4", "op-lock-start", 0, 0, "struct compound_state *",
588 	    "conninfo_t *" },
589 	{ "nfsv4", "op-lock-start", 1, 0, "struct compound_state *",
590 	    "nfsv4opinfo_t *" },
591 	{ "nfsv4", "op-lock-start", 2, 1, "LOCK4args *" },
592 	{ "nfsv4", "op-lock-done", 0, 0, "struct compound_state *",
593 	    "conninfo_t *" },
594 	{ "nfsv4", "op-lock-done", 1, 0, "struct compound_state *",
595 	    "nfsv4opinfo_t *" },
596 	{ "nfsv4", "op-lock-done", 2, 1, "LOCK4res *" },
597 	{ "nfsv4", "op-lockt-start", 0, 0, "struct compound_state *",
598 	    "conninfo_t *" },
599 	{ "nfsv4", "op-lockt-start", 1, 0, "struct compound_state *",
600 	    "nfsv4opinfo_t *" },
601 	{ "nfsv4", "op-lockt-start", 2, 1, "LOCKT4args *" },
602 	{ "nfsv4", "op-lockt-done", 0, 0, "struct compound_state *",
603 	    "conninfo_t *" },
604 	{ "nfsv4", "op-lockt-done", 1, 0, "struct compound_state *",
605 	    "nfsv4opinfo_t *" },
606 	{ "nfsv4", "op-lockt-done", 2, 1, "LOCKT4res *" },
607 	{ "nfsv4", "op-locku-start", 0, 0, "struct compound_state *",
608 	    "conninfo_t *" },
609 	{ "nfsv4", "op-locku-start", 1, 0, "struct compound_state *",
610 	    "nfsv4opinfo_t *" },
611 	{ "nfsv4", "op-locku-start", 2, 1, "LOCKU4args *" },
612 	{ "nfsv4", "op-locku-done", 0, 0, "struct compound_state *",
613 	    "conninfo_t *" },
614 	{ "nfsv4", "op-locku-done", 1, 0, "struct compound_state *",
615 	    "nfsv4opinfo_t *" },
616 	{ "nfsv4", "op-locku-done", 2, 1, "LOCKU4res *" },
617 	{ "nfsv4", "op-lookup-start", 0, 0, "struct compound_state *",
618 	    "conninfo_t *" },
619 	{ "nfsv4", "op-lookup-start", 1, 0, "struct compound_state *",
620 	    "nfsv4opinfo_t *" },
621 	{ "nfsv4", "op-lookup-start", 2, 1, "LOOKUP4args *" },
622 	{ "nfsv4", "op-lookup-done", 0, 0, "struct compound_state *",
623 	    "conninfo_t *" },
624 	{ "nfsv4", "op-lookup-done", 1, 0, "struct compound_state *",
625 	    "nfsv4opinfo_t *" },
626 	{ "nfsv4", "op-lookup-done", 2, 1, "LOOKUP4res *" },
627 	{ "nfsv4", "op-lookupp-start", 0, 0, "struct compound_state *",
628 	    "conninfo_t *" },
629 	{ "nfsv4", "op-lookupp-start", 1, 0, "struct compound_state *",
630 	    "nfsv4opinfo_t *" },
631 	{ "nfsv4", "op-lookupp-done", 0, 0, "struct compound_state *",
632 	    "conninfo_t *" },
633 	{ "nfsv4", "op-lookupp-done", 1, 0, "struct compound_state *",
634 	    "nfsv4opinfo_t *" },
635 	{ "nfsv4", "op-lookupp-done", 2, 1, "LOOKUPP4res *" },
636 	{ "nfsv4", "op-nverify-start", 0, 0, "struct compound_state *",
637 	    "conninfo_t *" },
638 	{ "nfsv4", "op-nverify-start", 1, 0, "struct compound_state *",
639 	    "nfsv4opinfo_t *" },
640 	{ "nfsv4", "op-nverify-start", 2, 1, "NVERIFY4args *" },
641 	{ "nfsv4", "op-nverify-done", 0, 0, "struct compound_state *",
642 	    "conninfo_t *" },
643 	{ "nfsv4", "op-nverify-done", 1, 0, "struct compound_state *",
644 	    "nfsv4opinfo_t *" },
645 	{ "nfsv4", "op-nverify-done", 2, 1, "NVERIFY4res *" },
646 	{ "nfsv4", "op-open-start", 0, 0, "struct compound_state *",
647 	    "conninfo_t *" },
648 	{ "nfsv4", "op-open-start", 1, 0, "struct compound_state *",
649 	    "nfsv4opinfo_t *" },
650 	{ "nfsv4", "op-open-start", 2, 1, "OPEN4args *" },
651 	{ "nfsv4", "op-open-done", 0, 0, "struct compound_state *",
652 	    "conninfo_t *" },
653 	{ "nfsv4", "op-open-done", 1, 0, "struct compound_state *",
654 	    "nfsv4opinfo_t *" },
655 	{ "nfsv4", "op-open-done", 2, 1, "OPEN4res *" },
656 	{ "nfsv4", "op-open-confirm-start", 0, 0, "struct compound_state *",
657 	    "conninfo_t *" },
658 	{ "nfsv4", "op-open-confirm-start", 1, 0, "struct compound_state *",
659 	    "nfsv4opinfo_t *" },
660 	{ "nfsv4", "op-open-confirm-start", 2, 1, "OPEN_CONFIRM4args *" },
661 	{ "nfsv4", "op-open-confirm-done", 0, 0, "struct compound_state *",
662 	    "conninfo_t *" },
663 	{ "nfsv4", "op-open-confirm-done", 1, 0, "struct compound_state *",
664 	    "nfsv4opinfo_t *" },
665 	{ "nfsv4", "op-open-confirm-done", 2, 1, "OPEN_CONFIRM4res *" },
666 	{ "nfsv4", "op-open-downgrade-start", 0, 0, "struct compound_state *",
667 	    "conninfo_t *" },
668 	{ "nfsv4", "op-open-downgrade-start", 1, 0, "struct compound_state *",
669 	    "nfsv4opinfo_t *" },
670 	{ "nfsv4", "op-open-downgrade-start", 2, 1, "OPEN_DOWNGRADE4args *" },
671 	{ "nfsv4", "op-open-downgrade-done", 0, 0, "struct compound_state *",
672 	    "conninfo_t *" },
673 	{ "nfsv4", "op-open-downgrade-done", 1, 0, "struct compound_state *",
674 	    "nfsv4opinfo_t *" },
675 	{ "nfsv4", "op-open-downgrade-done", 2, 1, "OPEN_DOWNGRADE4res *" },
676 	{ "nfsv4", "op-openattr-start", 0, 0, "struct compound_state *",
677 	    "conninfo_t *" },
678 	{ "nfsv4", "op-openattr-start", 1, 0, "struct compound_state *",
679 	    "nfsv4opinfo_t *" },
680 	{ "nfsv4", "op-openattr-start", 2, 1, "OPENATTR4args *" },
681 	{ "nfsv4", "op-openattr-done", 0, 0, "struct compound_state *",
682 	    "conninfo_t *" },
683 	{ "nfsv4", "op-openattr-done", 1, 0, "struct compound_state *",
684 	    "nfsv4opinfo_t *" },
685 	{ "nfsv4", "op-openattr-done", 2, 1, "OPENATTR4res *" },
686 	{ "nfsv4", "op-putfh-start", 0, 0, "struct compound_state *",
687 	    "conninfo_t *" },
688 	{ "nfsv4", "op-putfh-start", 1, 0, "struct compound_state *",
689 	    "nfsv4opinfo_t *" },
690 	{ "nfsv4", "op-putfh-start", 2, 1, "PUTFH4args *" },
691 	{ "nfsv4", "op-putfh-done", 0, 0, "struct compound_state *",
692 	    "conninfo_t *" },
693 	{ "nfsv4", "op-putfh-done", 1, 0, "struct compound_state *",
694 	    "nfsv4opinfo_t *" },
695 	{ "nfsv4", "op-putfh-done", 2, 1, "PUTFH4res *" },
696 	{ "nfsv4", "op-putpubfh-start", 0, 0, "struct compound_state *",
697 	    "conninfo_t *" },
698 	{ "nfsv4", "op-putpubfh-start", 1, 0, "struct compound_state *",
699 	    "nfsv4opinfo_t *" },
700 	{ "nfsv4", "op-putpubfh-done", 0, 0, "struct compound_state *",
701 	    "conninfo_t *" },
702 	{ "nfsv4", "op-putpubfh-done", 1, 0, "struct compound_state *",
703 	    "nfsv4opinfo_t *" },
704 	{ "nfsv4", "op-putpubfh-done", 2, 1, "PUTPUBFH4res *" },
705 	{ "nfsv4", "op-putrootfh-start", 0, 0, "struct compound_state *",
706 	    "conninfo_t *" },
707 	{ "nfsv4", "op-putrootfh-start", 1, 0, "struct compound_state *",
708 	    "nfsv4opinfo_t *" },
709 	{ "nfsv4", "op-putrootfh-done", 0, 0, "struct compound_state *",
710 	    "conninfo_t *" },
711 	{ "nfsv4", "op-putrootfh-done", 1, 0, "struct compound_state *",
712 	    "nfsv4opinfo_t *" },
713 	{ "nfsv4", "op-putrootfh-done", 2, 1, "PUTROOTFH4res *" },
714 	{ "nfsv4", "op-read-start", 0, 0, "struct compound_state *",
715 	    "conninfo_t *" },
716 	{ "nfsv4", "op-read-start", 1, 0, "struct compound_state *",
717 	    "nfsv4opinfo_t *" },
718 	{ "nfsv4", "op-read-start", 2, 1, "READ4args *" },
719 	{ "nfsv4", "op-read-done", 0, 0, "struct compound_state *",
720 	    "conninfo_t *" },
721 	{ "nfsv4", "op-read-done", 1, 0, "struct compound_state *",
722 	    "nfsv4opinfo_t *" },
723 	{ "nfsv4", "op-read-done", 2, 1, "READ4res *" },
724 	{ "nfsv4", "op-readdir-start", 0, 0, "struct compound_state *",
725 	    "conninfo_t *" },
726 	{ "nfsv4", "op-readdir-start", 1, 0, "struct compound_state *",
727 	    "nfsv4opinfo_t *" },
728 	{ "nfsv4", "op-readdir-start", 2, 1, "READDIR4args *" },
729 	{ "nfsv4", "op-readdir-done", 0, 0, "struct compound_state *",
730 	    "conninfo_t *" },
731 	{ "nfsv4", "op-readdir-done", 1, 0, "struct compound_state *",
732 	    "nfsv4opinfo_t *" },
733 	{ "nfsv4", "op-readdir-done", 2, 1, "READDIR4res *" },
734 	{ "nfsv4", "op-readlink-start", 0, 0, "struct compound_state *",
735 	    "conninfo_t *" },
736 	{ "nfsv4", "op-readlink-start", 1, 0, "struct compound_state *",
737 	    "nfsv4opinfo_t *" },
738 	{ "nfsv4", "op-readlink-done", 0, 0, "struct compound_state *",
739 	    "conninfo_t *" },
740 	{ "nfsv4", "op-readlink-done", 1, 0, "struct compound_state *",
741 	    "nfsv4opinfo_t *" },
742 	{ "nfsv4", "op-readlink-done", 2, 1, "READLINK4res *" },
743 	{ "nfsv4", "op-release-lockowner-start", 0, 0,
744 	    "struct compound_state *", "conninfo_t *" },
745 	{ "nfsv4", "op-release-lockowner-start", 1, 0,
746 	    "struct compound_state *", "nfsv4opinfo_t *" },
747 	{ "nfsv4", "op-release-lockowner-start", 2, 1,
748 	    "RELEASE_LOCKOWNER4args *" },
749 	{ "nfsv4", "op-release-lockowner-done", 0, 0,
750 	    "struct compound_state *", "conninfo_t *" },
751 	{ "nfsv4", "op-release-lockowner-done", 1, 0,
752 	    "struct compound_state *", "nfsv4opinfo_t *" },
753 	{ "nfsv4", "op-release-lockowner-done", 2, 1,
754 	    "RELEASE_LOCKOWNER4res *" },
755 	{ "nfsv4", "op-remove-start", 0, 0, "struct compound_state *",
756 	    "conninfo_t *" },
757 	{ "nfsv4", "op-remove-start", 1, 0, "struct compound_state *",
758 	    "nfsv4opinfo_t *" },
759 	{ "nfsv4", "op-remove-start", 2, 1, "REMOVE4args *" },
760 	{ "nfsv4", "op-remove-done", 0, 0, "struct compound_state *",
761 	    "conninfo_t *" },
762 	{ "nfsv4", "op-remove-done", 1, 0, "struct compound_state *",
763 	    "nfsv4opinfo_t *" },
764 	{ "nfsv4", "op-remove-done", 2, 1, "REMOVE4res *" },
765 	{ "nfsv4", "op-rename-start", 0, 0, "struct compound_state *",
766 	    "conninfo_t *" },
767 	{ "nfsv4", "op-rename-start", 1, 0, "struct compound_state *",
768 	    "nfsv4opinfo_t *" },
769 	{ "nfsv4", "op-rename-start", 2, 1, "RENAME4args *" },
770 	{ "nfsv4", "op-rename-done", 0, 0, "struct compound_state *",
771 	    "conninfo_t *" },
772 	{ "nfsv4", "op-rename-done", 1, 0, "struct compound_state *",
773 	    "nfsv4opinfo_t *" },
774 	{ "nfsv4", "op-rename-done", 2, 1, "RENAME4res *" },
775 	{ "nfsv4", "op-renew-start", 0, 0, "struct compound_state *",
776 	    "conninfo_t *" },
777 	{ "nfsv4", "op-renew-start", 1, 0, "struct compound_state *",
778 	    "nfsv4opinfo_t *" },
779 	{ "nfsv4", "op-renew-start", 2, 1, "RENEW4args *" },
780 	{ "nfsv4", "op-renew-done", 0, 0, "struct compound_state *",
781 	    "conninfo_t *" },
782 	{ "nfsv4", "op-renew-done", 1, 0, "struct compound_state *",
783 	    "nfsv4opinfo_t *" },
784 	{ "nfsv4", "op-renew-done", 2, 1, "RENEW4res *" },
785 	{ "nfsv4", "op-restorefh-start", 0, 0, "struct compound_state *",
786 	    "conninfo_t *" },
787 	{ "nfsv4", "op-restorefh-start", 1, 0, "struct compound_state *",
788 	    "nfsv4opinfo_t *" },
789 	{ "nfsv4", "op-restorefh-done", 0, 0, "struct compound_state *",
790 	    "conninfo_t *" },
791 	{ "nfsv4", "op-restorefh-done", 1, 0, "struct compound_state *",
792 	    "nfsv4opinfo_t *" },
793 	{ "nfsv4", "op-restorefh-done", 2, 1, "RESTOREFH4res *" },
794 	{ "nfsv4", "op-savefh-start", 0, 0, "struct compound_state *",
795 	    "conninfo_t *" },
796 	{ "nfsv4", "op-savefh-start", 1, 0, "struct compound_state *",
797 	    "nfsv4opinfo_t *" },
798 	{ "nfsv4", "op-savefh-done", 0, 0, "struct compound_state *",
799 	    "conninfo_t *" },
800 	{ "nfsv4", "op-savefh-done", 1, 0, "struct compound_state *",
801 	    "nfsv4opinfo_t *" },
802 	{ "nfsv4", "op-savefh-done", 2, 1, "SAVEFH4res *" },
803 	{ "nfsv4", "op-secinfo-start", 0, 0, "struct compound_state *",
804 	    "conninfo_t *" },
805 	{ "nfsv4", "op-secinfo-start", 1, 0, "struct compound_state *",
806 	    "nfsv4opinfo_t *" },
807 	{ "nfsv4", "op-secinfo-start", 2, 1, "SECINFO4args *" },
808 	{ "nfsv4", "op-secinfo-done", 0, 0, "struct compound_state *",
809 	    "conninfo_t *" },
810 	{ "nfsv4", "op-secinfo-done", 1, 0, "struct compound_state *",
811 	    "nfsv4opinfo_t *" },
812 	{ "nfsv4", "op-secinfo-done", 2, 1, "SECINFO4res *" },
813 	{ "nfsv4", "op-setattr-start", 0, 0, "struct compound_state *",
814 	    "conninfo_t *" },
815 	{ "nfsv4", "op-setattr-start", 1, 0, "struct compound_state *",
816 	    "nfsv4opinfo_t *" },
817 	{ "nfsv4", "op-setattr-start", 2, 1, "SETATTR4args *" },
818 	{ "nfsv4", "op-setattr-done", 0, 0, "struct compound_state *",
819 	    "conninfo_t *" },
820 	{ "nfsv4", "op-setattr-done", 1, 0, "struct compound_state *",
821 	    "nfsv4opinfo_t *" },
822 	{ "nfsv4", "op-setattr-done", 2, 1, "SETATTR4res *" },
823 	{ "nfsv4", "op-setclientid-start", 0, 0, "struct compound_state *",
824 	    "conninfo_t *" },
825 	{ "nfsv4", "op-setclientid-start", 1, 0, "struct compound_state *",
826 	    "nfsv4opinfo_t *" },
827 	{ "nfsv4", "op-setclientid-start", 2, 1, "SETCLIENTID4args *" },
828 	{ "nfsv4", "op-setclientid-done", 0, 0, "struct compound_state *",
829 	    "conninfo_t *" },
830 	{ "nfsv4", "op-setclientid-done", 1, 0, "struct compound_state *",
831 	    "nfsv4opinfo_t *" },
832 	{ "nfsv4", "op-setclientid-done", 2, 1, "SETCLIENTID4res *" },
833 	{ "nfsv4", "op-setclientid-confirm-start", 0, 0,
834 	    "struct compound_state *", "conninfo_t *" },
835 	{ "nfsv4", "op-setclientid-confirm-start", 1, 0,
836 	    "struct compound_state *", "nfsv4opinfo_t *" },
837 	{ "nfsv4", "op-setclientid-confirm-start", 2, 1,
838 	    "SETCLIENTID_CONFIRM4args *" },
839 	{ "nfsv4", "op-setclientid-confirm-done", 0, 0,
840 	    "struct compound_state *", "conninfo_t *" },
841 	{ "nfsv4", "op-setclientid-confirm-done", 1, 0,
842 	    "struct compound_state *", "nfsv4opinfo_t *" },
843 	{ "nfsv4", "op-setclientid-confirm-done", 2, 1,
844 	    "SETCLIENTID_CONFIRM4res *" },
845 	{ "nfsv4", "op-verify-start", 0, 0, "struct compound_state *",
846 	    "conninfo_t *" },
847 	{ "nfsv4", "op-verify-start", 1, 0, "struct compound_state *",
848 	    "nfsv4opinfo_t *" },
849 	{ "nfsv4", "op-verify-start", 2, 1, "VERIFY4args *" },
850 	{ "nfsv4", "op-verify-done", 0, 0, "struct compound_state *",
851 	    "conninfo_t *" },
852 	{ "nfsv4", "op-verify-done", 1, 0, "struct compound_state *",
853 	    "nfsv4opinfo_t *" },
854 	{ "nfsv4", "op-verify-done", 2, 1, "VERIFY4res *" },
855 	{ "nfsv4", "op-write-start", 0, 0, "struct compound_state *",
856 	    "conninfo_t *" },
857 	{ "nfsv4", "op-write-start", 1, 0, "struct compound_state *",
858 	    "nfsv4opinfo_t *" },
859 	{ "nfsv4", "op-write-start", 2, 1, "WRITE4args *" },
860 	{ "nfsv4", "op-write-done", 0, 0, "struct compound_state *",
861 	    "conninfo_t *" },
862 	{ "nfsv4", "op-write-done", 1, 0, "struct compound_state *",
863 	    "nfsv4opinfo_t *" },
864 	{ "nfsv4", "op-write-done", 2, 1, "WRITE4res *" },
865 	{ "nfsv4", "cb-recall-start", 0, 0, "rfs4_client_t *",
866 	    "conninfo_t *" },
867 	{ "nfsv4", "cb-recall-start", 1, 1, "rfs4_deleg_state_t *",
868 	    "nfsv4cbinfo_t *" },
869 	{ "nfsv4", "cb-recall-start", 2, 2, "CB_RECALL4args *" },
870 	{ "nfsv4", "cb-recall-done", 0, 0, "rfs4_client_t *",
871 	    "conninfo_t *" },
872 	{ "nfsv4", "cb-recall-done", 1, 1, "rfs4_deleg_state_t *",
873 	    "nfsv4cbinfo_t *" },
874 	{ "nfsv4", "cb-recall-done", 2, 2, "CB_RECALL4res *" },
875 
876 	{ "ip", "send", 0, 0, "mblk_t *", "pktinfo_t *" },
877 	{ "ip", "send", 1, 1, "conn_t *", "csinfo_t *" },
878 	{ "ip", "send", 2, 2, "void_ip_t *", "ipinfo_t *" },
879 	{ "ip", "send", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
880 	{ "ip", "send", 4, 4, "ipha_t *", "ipv4info_t *" },
881 	{ "ip", "send", 5, 5, "ip6_t *", "ipv6info_t *" },
882 	{ "ip", "send", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
883 	{ "ip", "receive", 0, 0, "mblk_t *", "pktinfo_t *" },
884 	{ "ip", "receive", 1, 1, "conn_t *", "csinfo_t *" },
885 	{ "ip", "receive", 2, 2, "void_ip_t *", "ipinfo_t *" },
886 	{ "ip", "receive", 3, 3, "__dtrace_ipsr_ill_t *", "ifinfo_t *" },
887 	{ "ip", "receive", 4, 4, "ipha_t *", "ipv4info_t *" },
888 	{ "ip", "receive", 5, 5, "ip6_t *", "ipv6info_t *" },
889 	{ "ip", "receive", 6, 6, "int" }, /* used by __dtrace_ipsr_ill_t */
890 
891 	{ "sysevent", "post", 0, 0, "evch_bind_t *", "syseventchaninfo_t *" },
892 	{ "sysevent", "post", 1, 1, "sysevent_impl_t *", "syseventinfo_t *" },
893 
894 	{ "xpv", "add-to-physmap-end", 0, 0, "int" },
895 	{ "xpv", "add-to-physmap-start", 0, 0, "domid_t" },
896 	{ "xpv", "add-to-physmap-start", 1, 1, "uint_t" },
897 	{ "xpv", "add-to-physmap-start", 2, 2, "ulong_t" },
898 	{ "xpv", "add-to-physmap-start", 3, 3, "ulong_t" },
899 	{ "xpv", "decrease-reservation-end", 0, 0, "int" },
900 	{ "xpv", "decrease-reservation-start", 0, 0, "domid_t" },
901 	{ "xpv", "decrease-reservation-start", 1, 1, "ulong_t" },
902 	{ "xpv", "decrease-reservation-start", 2, 2, "uint_t" },
903 	{ "xpv", "decrease-reservation-start", 3, 3, "ulong_t *" },
904 	{ "xpv", "dom-create-start", 0, 0, "xen_domctl_t *" },
905 	{ "xpv", "dom-destroy-start", 0, 0, "domid_t" },
906 	{ "xpv", "dom-pause-start", 0, 0, "domid_t" },
907 	{ "xpv", "dom-unpause-start", 0, 0, "domid_t" },
908 	{ "xpv", "dom-create-end", 0, 0, "int" },
909 	{ "xpv", "dom-destroy-end", 0, 0, "int" },
910 	{ "xpv", "dom-pause-end", 0, 0, "int" },
911 	{ "xpv", "dom-unpause-end", 0, 0, "int" },
912 	{ "xpv", "evtchn-op-end", 0, 0, "int" },
913 	{ "xpv", "evtchn-op-start", 0, 0, "int" },
914 	{ "xpv", "evtchn-op-start", 1, 1, "void *" },
915 	{ "xpv", "increase-reservation-end", 0, 0, "int" },
916 	{ "xpv", "increase-reservation-start", 0, 0, "domid_t" },
917 	{ "xpv", "increase-reservation-start", 1, 1, "ulong_t" },
918 	{ "xpv", "increase-reservation-start", 2, 2, "uint_t" },
919 	{ "xpv", "increase-reservation-start", 3, 3, "ulong_t *" },
920 	{ "xpv", "mmap-end", 0, 0, "int" },
921 	{ "xpv", "mmap-entry", 0, 0, "ulong_t" },
922 	{ "xpv", "mmap-entry", 1, 1, "ulong_t" },
923 	{ "xpv", "mmap-entry", 2, 2, "ulong_t" },
924 	{ "xpv", "mmap-start", 0, 0, "domid_t" },
925 	{ "xpv", "mmap-start", 1, 1, "int" },
926 	{ "xpv", "mmap-start", 2, 2, "privcmd_mmap_entry_t *" },
927 	{ "xpv", "mmapbatch-end", 0, 0, "int" },
928 	{ "xpv", "mmapbatch-end", 1, 1, "struct seg *" },
929 	{ "xpv", "mmapbatch-end", 2, 2, "caddr_t" },
930 	{ "xpv", "mmapbatch-start", 0, 0, "domid_t" },
931 	{ "xpv", "mmapbatch-start", 1, 1, "int" },
932 	{ "xpv", "mmapbatch-start", 2, 2, "caddr_t" },
933 	{ "xpv", "mmu-ext-op-end", 0, 0, "int" },
934 	{ "xpv", "mmu-ext-op-start", 0, 0, "int" },
935 	{ "xpv", "mmu-ext-op-start", 1, 1, "struct mmuext_op *" },
936 	{ "xpv", "mmu-update-start", 0, 0, "int" },
937 	{ "xpv", "mmu-update-start", 1, 1, "int" },
938 	{ "xpv", "mmu-update-start", 2, 2, "mmu_update_t *" },
939 	{ "xpv", "mmu-update-end", 0, 0, "int" },
940 	{ "xpv", "populate-physmap-end", 0, 0, "int" },
941 	{ "xpv", "populate-physmap-start", 0, 0, "domid_t" },
942 	{ "xpv", "populate-physmap-start", 1, 1, "ulong_t" },
943 	{ "xpv", "populate-physmap-start", 2, 2, "ulong_t *" },
944 	{ "xpv", "set-memory-map-end", 0, 0, "int" },
945 	{ "xpv", "set-memory-map-start", 0, 0, "domid_t" },
946 	{ "xpv", "set-memory-map-start", 1, 1, "int" },
947 	{ "xpv", "set-memory-map-start", 2, 2, "struct xen_memory_map *" },
948 	{ "xpv", "setvcpucontext-end", 0, 0, "int" },
949 	{ "xpv", "setvcpucontext-start", 0, 0, "domid_t" },
950 	{ "xpv", "setvcpucontext-start", 1, 1, "vcpu_guest_context_t *" },
951 
952 	{ "srp", "service-up", 0, 0, "srpt_session_t *", "conninfo_t *" },
953 	{ "srp", "service-up", 1, 0, "srpt_session_t *", "srp_portinfo_t *" },
954 	{ "srp", "service-down", 0, 0, "srpt_session_t *", "conninfo_t *" },
955 	{ "srp", "service-down", 1, 0, "srpt_session_t *",
956 	    "srp_portinfo_t *" },
957 	{ "srp", "login-command", 0, 0, "srpt_session_t *", "conninfo_t *" },
958 	{ "srp", "login-command", 1, 0, "srpt_session_t *",
959 	    "srp_portinfo_t *" },
960 	{ "srp", "login-command", 2, 1, "srp_login_req_t *",
961 	    "srp_logininfo_t *" },
962 	{ "srp", "login-response", 0, 0, "srpt_session_t *", "conninfo_t *" },
963 	{ "srp", "login-response", 1, 0, "srpt_session_t *",
964 	    "srp_portinfo_t *" },
965 	{ "srp", "login-response", 2, 1, "srp_login_rsp_t *",
966 	    "srp_logininfo_t *" },
967 	{ "srp", "login-response", 3, 2, "srp_login_rej_t *" },
968 	{ "srp", "logout-command", 0, 0, "srpt_channel_t *", "conninfo_t *" },
969 	{ "srp", "logout-command", 1, 0, "srpt_channel_t *",
970 	    "srp_portinfo_t *" },
971 	{ "srp", "task-command", 0, 0, "srpt_channel_t *", "conninfo_t *" },
972 	{ "srp", "task-command", 1, 0, "srpt_channel_t *",
973 	    "srp_portinfo_t *" },
974 	{ "srp", "task-command", 2, 1, "srp_cmd_req_t *", "srp_taskinfo_t *" },
975 	{ "srp", "task-response", 0, 0, "srpt_channel_t *", "conninfo_t *" },
976 	{ "srp", "task-response", 1, 0, "srpt_channel_t *",
977 	    "srp_portinfo_t *" },
978 	{ "srp", "task-response", 2, 1, "srp_rsp_t *", "srp_taskinfo_t *" },
979 	{ "srp", "task-response", 3, 2, "scsi_task_t *" },
980 	{ "srp", "task-response", 4, 3, "int8_t" },
981 	{ "srp", "scsi-command", 0, 0, "srpt_channel_t *", "conninfo_t *" },
982 	{ "srp", "scsi-command", 1, 0, "srpt_channel_t *",
983 	    "srp_portinfo_t *" },
984 	{ "srp", "scsi-command", 2, 1, "scsi_task_t *", "scsicmd_t *" },
985 	{ "srp", "scsi-command", 3, 2, "srp_cmd_req_t *", "srp_taskinfo_t *" },
986 	{ "srp", "scsi-response", 0, 0, "srpt_channel_t *", "conninfo_t *" },
987 	{ "srp", "scsi-response", 1, 0, "srpt_channel_t *",
988 	    "srp_portinfo_t *" },
989 	{ "srp", "scsi-response", 2, 1, "srp_rsp_t *", "srp_taskinfo_t *" },
990 	{ "srp", "scsi-response", 3, 2, "scsi_task_t *" },
991 	{ "srp", "scsi-response", 4, 3, "int8_t" },
992 	{ "srp", "xfer-start", 0, 0, "srpt_channel_t *", "conninfo_t *" },
993 	{ "srp", "xfer-start", 1, 0, "srpt_channel_t *",
994 	    "srp_portinfo_t *" },
995 	{ "srp", "xfer-start", 2, 1, "ibt_wr_ds_t *", "xferinfo_t *" },
996 	{ "srp", "xfer-start", 3, 2, "srpt_iu_t *", "srp_taskinfo_t *" },
997 	{ "srp", "xfer-start", 4, 3, "ibt_send_wr_t *"},
998 	{ "srp", "xfer-start", 5, 4, "uint32_t" },
999 	{ "srp", "xfer-start", 6, 5, "uint32_t" },
1000 	{ "srp", "xfer-start", 7, 6, "uint32_t" },
1001 	{ "srp", "xfer-start", 8, 7, "uint32_t" },
1002 	{ "srp", "xfer-done", 0, 0, "srpt_channel_t *", "conninfo_t *" },
1003 	{ "srp", "xfer-done", 1, 0, "srpt_channel_t *",
1004 	    "srp_portinfo_t *" },
1005 	{ "srp", "xfer-done", 2, 1, "ibt_wr_ds_t *", "xferinfo_t *" },
1006 	{ "srp", "xfer-done", 3, 2, "srpt_iu_t *", "srp_taskinfo_t *" },
1007 	{ "srp", "xfer-done", 4, 3, "ibt_send_wr_t *"},
1008 	{ "srp", "xfer-done", 5, 4, "uint32_t" },
1009 	{ "srp", "xfer-done", 6, 5, "uint32_t" },
1010 	{ "srp", "xfer-done", 7, 6, "uint32_t" },
1011 	{ "srp", "xfer-done", 8, 7, "uint32_t" },
1012 
1013 	{ "fc", "link-up",   0, 0, "fct_i_local_port_t *", "conninfo_t *" },
1014 	{ "fc", "link-down", 0, 0, "fct_i_local_port_t *", "conninfo_t *" },
1015 	{ "fc", "fabric-login-start", 0, 0, "fct_i_local_port_t *",
1016 	    "conninfo_t *" },
1017 	{ "fc", "fabric-login-start", 1, 0, "fct_i_local_port_t *",
1018 	    "fc_port_info_t *" },
1019 	{ "fc", "fabric-login-end", 0, 0, "fct_i_local_port_t *",
1020 	    "conninfo_t *" },
1021 	{ "fc", "fabric-login-end", 1, 0, "fct_i_local_port_t *",
1022 	    "fc_port_info_t *" },
1023 	{ "fc", "rport-login-start", 0, 0, "fct_cmd_t *",
1024 	    "conninfo_t *" },
1025 	{ "fc", "rport-login-start", 1, 1, "fct_local_port_t *",
1026 	    "fc_port_info_t *" },
1027 	{ "fc", "rport-login-start", 2, 2, "fct_i_remote_port_t *",
1028 	    "fc_port_info_t *" },
1029 	{ "fc", "rport-login-start", 3, 3, "int", "int" },
1030 	{ "fc", "rport-login-end", 0, 0, "fct_cmd_t *",
1031 	    "conninfo_t *" },
1032 	{ "fc", "rport-login-end", 1, 1, "fct_local_port_t *",
1033 	    "fc_port_info_t *" },
1034 	{ "fc", "rport-login-end", 2, 2, "fct_i_remote_port_t *",
1035 	    "fc_port_info_t *" },
1036 	{ "fc", "rport-login-end", 3, 3, "int", "int" },
1037 	{ "fc", "rport-login-end", 4, 4, "int", "int" },
1038 	{ "fc", "rport-logout-start", 0, 0, "fct_cmd_t *",
1039 	    "conninfo_t *" },
1040 	{ "fc", "rport-logout-start", 1, 1, "fct_local_port_t *",
1041 	    "fc_port_info_t *" },
1042 	{ "fc", "rport-logout-start", 2, 2, "fct_i_remote_port_t *",
1043 	    "fc_port_info_t *" },
1044 	{ "fc", "rport-logout-start", 3, 3, "int", "int" },
1045 	{ "fc", "rport-logout-end", 0, 0, "fct_cmd_t *",
1046 	    "conninfo_t *" },
1047 	{ "fc", "rport-logout-end", 1, 1, "fct_local_port_t *",
1048 	    "fc_port_info_t *" },
1049 	{ "fc", "rport-logout-end", 2, 2, "fct_i_remote_port_t *",
1050 	    "fc_port_info_t *" },
1051 	{ "fc", "rport-logout-end", 3, 3, "int", "int" },
1052 	{ "fc", "scsi-command", 0, 0, "fct_cmd_t *",
1053 	    "conninfo_t *" },
1054 	{ "fc", "scsi-command", 1, 1, "fct_i_local_port_t *",
1055 	    "fc_port_info_t *" },
1056 	{ "fc", "scsi-command", 2, 2, "scsi_task_t *",
1057 	    "scsicmd_t *" },
1058 	{ "fc", "scsi-command", 3, 3, "fct_i_remote_port_t *",
1059 	    "fc_port_info_t *" },
1060 	{ "fc", "scsi-response", 0, 0, "fct_cmd_t *",
1061 	    "conninfo_t *" },
1062 	{ "fc", "scsi-response", 1, 1, "fct_i_local_port_t *",
1063 	    "fc_port_info_t *" },
1064 	{ "fc", "scsi-response", 2, 2, "scsi_task_t *",
1065 	    "scsicmd_t *" },
1066 	{ "fc", "scsi-response", 3, 3, "fct_i_remote_port_t *",
1067 	    "fc_port_info_t *" },
1068 	{ "fc", "xfer-start", 0, 0, "fct_cmd_t *",
1069 	    "conninfo_t *" },
1070 	{ "fc", "xfer-start", 1, 1, "fct_i_local_port_t *",
1071 	    "fc_port_info_t *" },
1072 	{ "fc", "xfer-start", 2, 2, "scsi_task_t *",
1073 	    "scsicmd_t *" },
1074 	{ "fc", "xfer-start", 3, 3, "fct_i_remote_port_t *",
1075 	    "fc_port_info_t *" },
1076 	{ "fc", "xfer-start", 4, 4, "stmf_data_buf_t *",
1077 	    "fc_xferinfo_t *" },
1078 	{ "fc", "xfer-done", 0, 0, "fct_cmd_t *",
1079 	    "conninfo_t *" },
1080 	{ "fc", "xfer-done", 1, 1, "fct_i_local_port_t *",
1081 	    "fc_port_info_t *" },
1082 	{ "fc", "xfer-done", 2, 2, "scsi_task_t *",
1083 	    "scsicmd_t *" },
1084 	{ "fc", "xfer-done", 3, 3, "fct_i_remote_port_t *",
1085 	    "fc_port_info_t *" },
1086 	{ "fc", "xfer-done", 4, 4, "stmf_data_buf_t *",
1087 	    "fc_xferinfo_t *" },
1088 
1089 
1090 	{ NULL }
1091 };
1092 
1093 /*ARGSUSED*/
1094 void
1095 sdt_getargdesc(void *arg, dtrace_id_t id, void *parg, dtrace_argdesc_t *desc)
1096 {
1097 	sdt_probe_t *sdp = parg;
1098 	int i;
1099 
1100 	desc->dtargd_native[0] = '\0';
1101 	desc->dtargd_xlate[0] = '\0';
1102 
1103 	for (i = 0; sdt_args[i].sda_provider != NULL; i++) {
1104 		sdt_argdesc_t *a = &sdt_args[i];
1105 
1106 		if (strcmp(sdp->sdp_provider->sdtp_name, a->sda_provider) != 0)
1107 			continue;
1108 
1109 		if (a->sda_name != NULL &&
1110 		    strcmp(sdp->sdp_name, a->sda_name) != 0)
1111 			continue;
1112 
1113 		if (desc->dtargd_ndx != a->sda_ndx)
1114 			continue;
1115 
1116 		if (a->sda_native != NULL)
1117 			(void) strcpy(desc->dtargd_native, a->sda_native);
1118 
1119 		if (a->sda_xlate != NULL)
1120 			(void) strcpy(desc->dtargd_xlate, a->sda_xlate);
1121 
1122 		desc->dtargd_mapping = a->sda_mapping;
1123 		return;
1124 	}
1125 
1126 	desc->dtargd_ndx = DTRACE_ARGNONE;
1127 }
1128