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