]> git.saurik.com Git - apple/xnu.git/blame - bsd/dev/dtrace/sdt_subr.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / sdt_subr.c
CommitLineData
2d21ac55
A
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/*
b0d623f7 22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2d21ac55
A
23 * Use is subject to license terms.
24 */
25
2d21ac55
A
26#include <sys/sdt_impl.h>
27
28static dtrace_pattr_t vtrace_attr = {
0a7de745
A
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 },
2d21ac55
A
34};
35
36static dtrace_pattr_t info_attr = {
0a7de745
A
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 },
2d21ac55
A
42};
43
44static dtrace_pattr_t fpu_attr = {
0a7de745
A
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_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_CPU },
49 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
2d21ac55
A
50};
51
52static dtrace_pattr_t fsinfo_attr = {
0a7de745
A
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_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_UNKNOWN },
57 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
2d21ac55
A
58};
59
60static dtrace_pattr_t stab_attr = {
0a7de745
A
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_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
65 { DTRACE_STABILITY_EVOLVING, DTRACE_STABILITY_EVOLVING, DTRACE_CLASS_ISA },
2d21ac55
A
66};
67
68static dtrace_pattr_t sdt_attr = {
0a7de745
A
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_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
73 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
2d21ac55
A
74};
75
f427ee49
A
76static dtrace_pattr_t hv_attr = {
77 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, 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_UNKNOWN },
81 { DTRACE_STABILITY_PRIVATE, DTRACE_STABILITY_PRIVATE, DTRACE_CLASS_ISA },
82};
83
2d21ac55
A
84sdt_provider_t sdt_providers[] = {
85 { "vtrace", "__vtrace____", &vtrace_attr, 0 },
86 { "sysinfo", "__cpu_sysinfo____", &info_attr, 0 },
87 { "vminfo", "__vminfo____", &info_attr, 0 },
88 { "fpuinfo", "__fpuinfo____", &fpu_attr, 0 },
89 { "sched", "__sched____", &stab_attr, 0 },
90 { "proc", "__proc____", &stab_attr, 0 },
91 { "io", "__io____", &stab_attr, 0 },
b0d623f7 92 { "ip", "__ip____", &stab_attr, 0 },
6d2010ae 93 { "tcp", "__tcp____", &stab_attr, 0 },
39236c6e 94 { "mptcp", "__mptcp____", &stab_attr, 0 },
2d21ac55
A
95 { "mib", "__mib____", &stab_attr, 0 },
96 { "fsinfo", "__fsinfo____", &fsinfo_attr, 0 },
b0d623f7
A
97 { "nfsv3", "__nfsv3____", &stab_attr, 0 },
98 { "nfsv4", "__nfsv4____", &stab_attr, 0 },
b0d623f7 99 { "sysevent", "__sysevent____", &stab_attr, 0 },
2d21ac55 100 { "sdt", "__sdt____", &sdt_attr, 0 },
39236c6e 101 { "boost", "__boost____", &stab_attr, 0},
cb323159
A
102 { "route", "__route____", &stab_attr, 0 },
103#if KASAN
104 { "kasan", "__kasan____", &stab_attr, 0 },
105#endif
f427ee49 106 { "hv", "__hv____", &hv_attr, 0 },
b0d623f7 107 { NULL, NULL, NULL, 0 }
2d21ac55
A
108};
109
b0d623f7 110/* Warning: Need xnu cognate for disp_t. */
2d21ac55 111sdt_argdesc_t sdt_args[] = {
39236c6e 112 /* provider probename arg# arg-mapping native-type translated-type */
2d21ac55 113 { "sched", "wakeup", 0, 0, "struct thread *", "lwpsinfo_t *" },
b0d623f7 114 { "sched", "wakeup", 1, 1, "struct proc *", "psinfo_t *" },
2d21ac55
A
115 { "sched", "dequeue", 0, 0, "struct thread *", "lwpsinfo_t *" },
116 { "sched", "dequeue", 1, 0, "struct proc *", "psinfo_t *" },
117 { "sched", "dequeue", 2, 1, "disp_t *", "cpuinfo_t *" },
118 { "sched", "enqueue", 0, 0, "struct thread *", "lwpsinfo_t *" },
119 { "sched", "enqueue", 1, 0, "struct proc *", "psinfo_t *" },
120 { "sched", "enqueue", 2, 1, "disp_t *", "cpuinfo_t *" },
121 { "sched", "enqueue", 3, 2, "int", NULL },
b0d623f7
A
122 /* sched:::sleep has no arguments */
123 /* sched:::on-cpu has no arguments */
2d21ac55 124 { "sched", "off-cpu", 0, 0, "struct thread *", "lwpsinfo_t *" },
b0d623f7 125 { "sched", "off-cpu", 1, 1, "struct proc *", "psinfo_t *" },
2d21ac55
A
126 { "sched", "tick", 0, 0, "struct thread *", "lwpsinfo_t *" },
127 { "sched", "tick", 1, 0, "struct proc *", "psinfo_t *" },
128 { "sched", "change-pri", 0, 0, "struct thread *", "lwpsinfo_t *" },
129 { "sched", "change-pri", 1, 0, "struct proc *", "psinfo_t *" },
130 { "sched", "change-pri", 2, 1, "pri_t", NULL },
131 { "sched", "schedctl-nopreempt", 0, 0, "struct thread *", "lwpsinfo_t *" },
132 { "sched", "schedctl-nopreempt", 1, 0, "struct proc *", "psinfo_t *" },
133 { "sched", "schedctl-nopreempt", 2, 1, "int", NULL },
134 { "sched", "schedctl-preempt", 0, 0, "struct thread *", "lwpsinfo_t *" },
135 { "sched", "schedctl-preempt", 1, 0, "struct proc *", "psinfo_t *" },
136 { "sched", "schedctl-yield", 0, 0, "int", NULL },
137 { "sched", "surrender", 0, 0, "struct thread *", "lwpsinfo_t *" },
138 { "sched", "surrender", 1, 0, "struct proc *", "psinfo_t *" },
b0d623f7
A
139 { "sched", "surrender", 1, 0, "kthread_t *", "psinfo_t *" },
140 { "sched", "cpucaps-sleep", 0, 0, "kthread_t *", "lwpsinfo_t *" },
141 { "sched", "cpucaps-sleep", 1, 0, "kthread_t *", "psinfo_t *" },
142 { "sched", "cpucaps-wakeup", 0, 0, "kthread_t *", "lwpsinfo_t *" },
143 { "sched", "cpucaps-wakeup", 1, 0, "kthread_t *", "psinfo_t *" },
2d21ac55
A
144
145 { "proc", "create", 0, 0, "struct proc *", "psinfo_t *" },
146 { "proc", "exec", 0, 0, "string", NULL },
147 { "proc", "exec-failure", 0, 0, "int", NULL },
148 /* proc:::exec-success has no arguments */
149 { "proc", "exit", 0, 0, "int", NULL },
d9a64523 150 { "proc", "exited", 0, 0, "struct proc *", "psinfo_t *"},
2d21ac55
A
151 { "proc", "fault", 0, 0, "int", NULL },
152 { "proc", "fault", 1, 1, "siginfo_t *", NULL },
153 { "proc", "lwp-create", 0, 0, "struct thread *", "lwpsinfo_t *" },
b0d623f7 154 { "proc", "lwp-create", 1, 0, "struct thread *", "psinfo_t *" },
2d21ac55
A
155 /* proc:::lwp-start has no arguments */
156 /* proc:::lwp-exit has no arguments */
157 { "proc", "signal-clear", 0, 0, "int", NULL },
158 { "proc", "signal-clear", 1, 1, "siginfo_t *", NULL },
159 { "proc", "signal-discard", 0, 0, "struct thread *", "lwpsinfo_t *" },
160 { "proc", "signal-discard", 1, 1, "struct proc *", "psinfo_t *" },
161 { "proc", "signal-discard", 2, 2, "int", NULL },
162 { "proc", "signal-handle", 0, 0, "int", NULL },
163 { "proc", "signal-handle", 1, 1, "siginfo_t *", NULL },
164 { "proc", "signal-handle", 2, 2, "void (*)(void)", NULL },
165 { "proc", "signal-send", 0, 0, "struct thread *", "lwpsinfo_t *" },
166 { "proc", "signal-send", 1, 1, "struct proc *", "psinfo_t *" },
167 { "proc", "signal-send", 2, 2, "int", NULL },
39236c6e
A
168 /* proc:::spawn-success has no arguments */
169 { "proc", "spawn-failure", 0, 0, "int", NULL },
170 { "proc", "spawn-fd-failure", 0, 0, "int", NULL },
171 { "proc", "spawn-open-failure", 0, 0, "string", NULL },
172 { "proc", "spawn-port-failure", 0, 0, "int", NULL },
2d21ac55
A
173 /* proc:::start has no arguments */
174
175 { "io", "start", 0, 0, "struct buf *", "bufinfo_t *" },
176 { "io", "start", 1, 0, "struct buf *", "devinfo_t *" },
177 { "io", "start", 2, 0, "struct buf *", "fileinfo_t *" },
178 { "io", "done", 0, 0, "struct buf *", "bufinfo_t *" },
179 { "io", "done", 1, 0, "struct buf *", "devinfo_t *" },
180 { "io", "done", 2, 0, "struct buf *", "fileinfo_t *" },
181 { "io", "wait-start", 0, 0, "struct buf *", "bufinfo_t *" },
182 { "io", "wait-start", 1, 0, "struct buf *", "devinfo_t *" },
183 { "io", "wait-start", 2, 0, "struct buf *", "fileinfo_t *" },
184 { "io", "wait-done", 0, 0, "struct buf *", "bufinfo_t *" },
185 { "io", "wait-done", 1, 0, "struct buf *", "devinfo_t *" },
186 { "io", "wait-done", 2, 0, "struct buf *", "fileinfo_t *" },
fe8ab488
A
187
188 /* APPLE NOTE: add vfs journaling support */
b0d623f7
A
189 { "io", "journal-start", 0, 0, "struct buf *", "bufinfo_t *" },
190 { "io", "journal-start", 1, 0, "struct buf *", "devinfo_t *" },
191 { "io", "journal-start", 2, 0, "struct buf *", "fileinfo_t *" },
192 { "io", "journal-done", 0, 0, "struct buf *", "bufinfo_t *" },
193 { "io", "journal-done", 1, 0, "struct buf *", "devinfo_t *" },
194 { "io", "journal-done", 2, 0, "struct buf *", "fileinfo_t *" },
2d21ac55
A
195
196 { "mib", NULL, 0, 0, "int", NULL },
39236c6e 197
2d21ac55 198 { "fsinfo", NULL, 0, 0, "struct vnode *", "fileinfo_t *" },
39236c6e 199 { "fsinfo", NULL, 1, 1, "int", NULL },
b0d623f7
A
200
201 { "nfsv3", "op-getattr-start", 0, 0, "struct svc_req *",
0a7de745 202 "conninfo_t *" },
b0d623f7 203 { "nfsv3", "op-getattr-start", 1, 1, "nfsv3oparg_t *",
0a7de745 204 "nfsv3opinfo_t *" },
b0d623f7
A
205 { "nfsv3", "op-getattr-start", 2, 3, "GETATTR3args *", NULL },
206 { "nfsv3", "op-getattr-done", 0, 0, "struct svc_req *",
0a7de745 207 "conninfo_t *" },
b0d623f7 208 { "nfsv3", "op-getattr-done", 1, 1, "nfsv3oparg_t *",
0a7de745 209 "nfsv3opinfo_t *" },
b0d623f7
A
210 { "nfsv3", "op-getattr-done", 2, 3, "GETATTR3res *", NULL },
211 { "nfsv3", "op-setattr-start", 0, 0, "struct svc_req *",
0a7de745 212 "conninfo_t *" },
b0d623f7 213 { "nfsv3", "op-setattr-start", 1, 1, "nfsv3oparg_t *",
0a7de745 214 "nfsv3opinfo_t *" },
b0d623f7
A
215 { "nfsv3", "op-setattr-start", 2, 3, "SETATTR3args *", NULL },
216 { "nfsv3", "op-setattr-done", 0, 0, "struct svc_req *",
0a7de745 217 "conninfo_t *" },
b0d623f7 218 { "nfsv3", "op-setattr-done", 1, 1, "nfsv3oparg_t *",
0a7de745 219 "nfsv3opinfo_t *" },
b0d623f7
A
220 { "nfsv3", "op-setattr-done", 2, 3, "SETATTR3res *", NULL },
221 { "nfsv3", "op-lookup-start", 0, 0, "struct svc_req *",
0a7de745 222 "conninfo_t *" },
b0d623f7 223 { "nfsv3", "op-lookup-start", 1, 1, "nfsv3oparg_t *",
0a7de745 224 "nfsv3opinfo_t *" },
b0d623f7
A
225 { "nfsv3", "op-lookup-start", 2, 3, "LOOKUP3args *", NULL },
226 { "nfsv3", "op-lookup-done", 0, 0, "struct svc_req *",
0a7de745 227 "conninfo_t *" },
b0d623f7 228 { "nfsv3", "op-lookup-done", 1, 1, "nfsv3oparg_t *",
0a7de745 229 "nfsv3opinfo_t *" },
b0d623f7
A
230 { "nfsv3", "op-lookup-done", 2, 3, "LOOKUP3res *", NULL },
231 { "nfsv3", "op-access-start", 0, 0, "struct svc_req *",
0a7de745 232 "conninfo_t *" },
b0d623f7 233 { "nfsv3", "op-access-start", 1, 1, "nfsv3oparg_t *",
0a7de745 234 "nfsv3opinfo_t *" },
b0d623f7
A
235 { "nfsv3", "op-access-start", 2, 3, "ACCESS3args *", NULL },
236 { "nfsv3", "op-access-done", 0, 0, "struct svc_req *",
0a7de745 237 "conninfo_t *" },
b0d623f7 238 { "nfsv3", "op-access-done", 1, 1, "nfsv3oparg_t *",
0a7de745 239 "nfsv3opinfo_t *" },
b0d623f7
A
240 { "nfsv3", "op-access-done", 2, 3, "ACCESS3res *", NULL },
241 { "nfsv3", "op-commit-start", 0, 0, "struct svc_req *",
0a7de745 242 "conninfo_t *" },
b0d623f7 243 { "nfsv3", "op-commit-start", 1, 1, "nfsv3oparg_t *",
0a7de745 244 "nfsv3opinfo_t *" },
b0d623f7
A
245 { "nfsv3", "op-commit-start", 2, 3, "COMMIT3args *", NULL },
246 { "nfsv3", "op-commit-done", 0, 0, "struct svc_req *",
0a7de745 247 "conninfo_t *" },
b0d623f7 248 { "nfsv3", "op-commit-done", 1, 1, "nfsv3oparg_t *",
0a7de745 249 "nfsv3opinfo_t *" },
b0d623f7
A
250 { "nfsv3", "op-commit-done", 2, 3, "COMMIT3res *", NULL },
251 { "nfsv3", "op-create-start", 0, 0, "struct svc_req *",
0a7de745 252 "conninfo_t *" },
b0d623f7 253 { "nfsv3", "op-create-start", 1, 1, "nfsv3oparg_t *",
0a7de745 254 "nfsv3opinfo_t *" },
b0d623f7
A
255 { "nfsv3", "op-create-start", 2, 3, "CREATE3args *", NULL },
256 { "nfsv3", "op-create-done", 0, 0, "struct svc_req *",
0a7de745 257 "conninfo_t *" },
b0d623f7 258 { "nfsv3", "op-create-done", 1, 1, "nfsv3oparg_t *",
0a7de745 259 "nfsv3opinfo_t *" },
b0d623f7
A
260 { "nfsv3", "op-create-done", 2, 3, "CREATE3res *", NULL },
261 { "nfsv3", "op-fsinfo-start", 0, 0, "struct svc_req *",
0a7de745 262 "conninfo_t *" },
b0d623f7 263 { "nfsv3", "op-fsinfo-start", 1, 1, "nfsv3oparg_t *",
0a7de745 264 "nfsv3opinfo_t *" },
b0d623f7
A
265 { "nfsv3", "op-fsinfo-start", 2, 3, "FSINFO3args *", NULL },
266 { "nfsv3", "op-fsinfo-done", 0, 0, "struct svc_req *",
0a7de745 267 "conninfo_t *" },
b0d623f7 268 { "nfsv3", "op-fsinfo-done", 1, 1, "nfsv3oparg_t *",
0a7de745 269 "nfsv3opinfo_t *" },
b0d623f7
A
270 { "nfsv3", "op-fsinfo-done", 2, 3, "FSINFO3res *", NULL },
271 { "nfsv3", "op-fsstat-start", 0, 0, "struct svc_req *",
0a7de745 272 "conninfo_t *" },
b0d623f7 273 { "nfsv3", "op-fsstat-start", 1, 1, "nfsv3oparg_t *",
0a7de745 274 "nfsv3opinfo_t *" },
b0d623f7
A
275 { "nfsv3", "op-fsstat-start", 2, 3, "FSSTAT3args *", NULL },
276 { "nfsv3", "op-fsstat-done", 0, 0, "struct svc_req *",
0a7de745 277 "conninfo_t *" },
b0d623f7 278 { "nfsv3", "op-fsstat-done", 1, 1, "nfsv3oparg_t *",
0a7de745 279 "nfsv3opinfo_t *" },
b0d623f7
A
280 { "nfsv3", "op-fsstat-done", 2, 3, "FSSTAT3res *", NULL },
281 { "nfsv3", "op-link-start", 0, 0, "struct svc_req *",
0a7de745 282 "conninfo_t *" },
b0d623f7 283 { "nfsv3", "op-link-start", 1, 1, "nfsv3oparg_t *",
0a7de745 284 "nfsv3opinfo_t *" },
b0d623f7
A
285 { "nfsv3", "op-link-start", 2, 3, "LINK3args *", NULL },
286 { "nfsv3", "op-link-done", 0, 0, "struct svc_req *",
0a7de745 287 "conninfo_t *" },
b0d623f7 288 { "nfsv3", "op-link-done", 1, 1, "nfsv3oparg_t *",
0a7de745 289 "nfsv3opinfo_t *" },
b0d623f7
A
290 { "nfsv3", "op-link-done", 2, 3, "LINK3res *", NULL },
291 { "nfsv3", "op-mkdir-start", 0, 0, "struct svc_req *",
0a7de745 292 "conninfo_t *" },
b0d623f7 293 { "nfsv3", "op-mkdir-start", 1, 1, "nfsv3oparg_t *",
0a7de745 294 "nfsv3opinfo_t *" },
b0d623f7
A
295 { "nfsv3", "op-mkdir-start", 2, 3, "MKDIR3args *", NULL },
296 { "nfsv3", "op-mkdir-done", 0, 0, "struct svc_req *",
0a7de745 297 "conninfo_t *" },
b0d623f7 298 { "nfsv3", "op-mkdir-done", 1, 1, "nfsv3oparg_t *",
0a7de745 299 "nfsv3opinfo_t *" },
b0d623f7
A
300 { "nfsv3", "op-mkdir-done", 2, 3, "MKDIR3res *", NULL },
301 { "nfsv3", "op-mknod-start", 0, 0, "struct svc_req *",
0a7de745 302 "conninfo_t *" },
b0d623f7 303 { "nfsv3", "op-mknod-start", 1, 1, "nfsv3oparg_t *",
0a7de745 304 "nfsv3opinfo_t *" },
b0d623f7
A
305 { "nfsv3", "op-mknod-start", 2, 3, "MKNOD3args *", NULL },
306 { "nfsv3", "op-mknod-done", 0, 0, "struct svc_req *",
0a7de745 307 "conninfo_t *" },
b0d623f7 308 { "nfsv3", "op-mknod-done", 1, 1, "nfsv3oparg_t *",
0a7de745 309 "nfsv3opinfo_t *" },
b0d623f7
A
310 { "nfsv3", "op-mknod-done", 2, 3, "MKNOD3res *", NULL },
311 { "nfsv3", "op-null-start", 0, 0, "struct svc_req *",
0a7de745 312 "conninfo_t *" },
b0d623f7 313 { "nfsv3", "op-null-start", 1, 1, "nfsv3oparg_t *",
0a7de745 314 "nfsv3opinfo_t *" },
b0d623f7 315 { "nfsv3", "op-null-done", 0, 0, "struct svc_req *",
0a7de745 316 "conninfo_t *" },
b0d623f7 317 { "nfsv3", "op-null-done", 1, 1, "nfsv3oparg_t *",
0a7de745 318 "nfsv3opinfo_t *" },
b0d623f7 319 { "nfsv3", "op-pathconf-start", 0, 0, "struct svc_req *",
0a7de745 320 "conninfo_t *" },
b0d623f7 321 { "nfsv3", "op-pathconf-start", 1, 1, "nfsv3oparg_t *",
0a7de745 322 "nfsv3opinfo_t *" },
b0d623f7
A
323 { "nfsv3", "op-pathconf-start", 2, 3, "PATHCONF3args *", NULL },
324 { "nfsv3", "op-pathconf-done", 0, 0, "struct svc_req *",
0a7de745 325 "conninfo_t *" },
b0d623f7 326 { "nfsv3", "op-pathconf-done", 1, 1, "nfsv3oparg_t *",
0a7de745 327 "nfsv3opinfo_t *" },
b0d623f7
A
328 { "nfsv3", "op-pathconf-done", 2, 3, "PATHCONF3res *", NULL },
329 { "nfsv3", "op-read-start", 0, 0, "struct svc_req *",
0a7de745 330 "conninfo_t *" },
b0d623f7 331 { "nfsv3", "op-read-start", 1, 1, "nfsv3oparg_t *",
0a7de745 332 "nfsv3opinfo_t *" },
b0d623f7
A
333 { "nfsv3", "op-read-start", 2, 3, "READ3args *", NULL },
334 { "nfsv3", "op-read-done", 0, 0, "struct svc_req *",
0a7de745 335 "conninfo_t *" },
b0d623f7 336 { "nfsv3", "op-read-done", 1, 1, "nfsv3oparg_t *",
0a7de745 337 "nfsv3opinfo_t *" },
b0d623f7
A
338 { "nfsv3", "op-read-done", 2, 3, "READ3res *", NULL },
339 { "nfsv3", "op-readdir-start", 0, 0, "struct svc_req *",
0a7de745 340 "conninfo_t *" },
b0d623f7 341 { "nfsv3", "op-readdir-start", 1, 1, "nfsv3oparg_t *",
0a7de745 342 "nfsv3opinfo_t *" },
b0d623f7
A
343 { "nfsv3", "op-readdir-start", 2, 3, "READDIR3args *", NULL },
344 { "nfsv3", "op-readdir-done", 0, 0, "struct svc_req *",
0a7de745 345 "conninfo_t *" },
b0d623f7 346 { "nfsv3", "op-readdir-done", 1, 1, "nfsv3oparg_t *",
0a7de745 347 "nfsv3opinfo_t *" },
b0d623f7
A
348 { "nfsv3", "op-readdir-done", 2, 3, "READDIR3res *", NULL },
349 { "nfsv3", "op-readdirplus-start", 0, 0, "struct svc_req *",
0a7de745 350 "conninfo_t *" },
b0d623f7 351 { "nfsv3", "op-readdirplus-start", 1, 1, "nfsv3oparg_t *",
0a7de745 352 "nfsv3opinfo_t *" },
b0d623f7
A
353 { "nfsv3", "op-readdirplus-start", 2, 3, "READDIRPLUS3args *", NULL },
354 { "nfsv3", "op-readdirplus-done", 0, 0, "struct svc_req *",
0a7de745 355 "conninfo_t *" },
b0d623f7 356 { "nfsv3", "op-readdirplus-done", 1, 1, "nfsv3oparg_t *",
0a7de745 357 "nfsv3opinfo_t *" },
b0d623f7
A
358 { "nfsv3", "op-readdirplus-done", 2, 3, "READDIRPLUS3res *", NULL },
359 { "nfsv3", "op-readlink-start", 0, 0, "struct svc_req *",
0a7de745 360 "conninfo_t *" },
b0d623f7 361 { "nfsv3", "op-readlink-start", 1, 1, "nfsv3oparg_t *",
0a7de745 362 "nfsv3opinfo_t *" },
b0d623f7
A
363 { "nfsv3", "op-readlink-start", 2, 3, "READLINK3args *", NULL },
364 { "nfsv3", "op-readlink-done", 0, 0, "struct svc_req *",
0a7de745 365 "conninfo_t *" },
b0d623f7 366 { "nfsv3", "op-readlink-done", 1, 1, "nfsv3oparg_t *",
0a7de745 367 "nfsv3opinfo_t *" },
b0d623f7
A
368 { "nfsv3", "op-readlink-done", 2, 3, "READLINK3res *", NULL },
369 { "nfsv3", "op-remove-start", 0, 0, "struct svc_req *",
0a7de745 370 "conninfo_t *" },
b0d623f7 371 { "nfsv3", "op-remove-start", 1, 1, "nfsv3oparg_t *",
0a7de745 372 "nfsv3opinfo_t *" },
b0d623f7
A
373 { "nfsv3", "op-remove-start", 2, 3, "REMOVE3args *", NULL },
374 { "nfsv3", "op-remove-done", 0, 0, "struct svc_req *",
0a7de745 375 "conninfo_t *" },
b0d623f7 376 { "nfsv3", "op-remove-done", 1, 1, "nfsv3oparg_t *",
0a7de745 377 "nfsv3opinfo_t *" },
b0d623f7
A
378 { "nfsv3", "op-remove-done", 2, 3, "REMOVE3res *", NULL },
379 { "nfsv3", "op-rename-start", 0, 0, "struct svc_req *",
0a7de745 380 "conninfo_t *" },
b0d623f7 381 { "nfsv3", "op-rename-start", 1, 1, "nfsv3oparg_t *",
0a7de745 382 "nfsv3opinfo_t *" },
b0d623f7
A
383 { "nfsv3", "op-rename-start", 2, 3, "RENAME3args *", NULL },
384 { "nfsv3", "op-rename-done", 0, 0, "struct svc_req *",
0a7de745 385 "conninfo_t *" },
b0d623f7 386 { "nfsv3", "op-rename-done", 1, 1, "nfsv3oparg_t *",
0a7de745 387 "nfsv3opinfo_t *" },
b0d623f7
A
388 { "nfsv3", "op-rename-done", 2, 3, "RENAME3res *", NULL },
389 { "nfsv3", "op-rmdir-start", 0, 0, "struct svc_req *",
0a7de745 390 "conninfo_t *" },
b0d623f7 391 { "nfsv3", "op-rmdir-start", 1, 1, "nfsv3oparg_t *",
0a7de745 392 "nfsv3opinfo_t *" },
b0d623f7
A
393 { "nfsv3", "op-rmdir-start", 2, 3, "RMDIR3args *", NULL },
394 { "nfsv3", "op-rmdir-done", 0, 0, "struct svc_req *",
0a7de745 395 "conninfo_t *" },
b0d623f7 396 { "nfsv3", "op-rmdir-done", 1, 1, "nfsv3oparg_t *",
0a7de745 397 "nfsv3opinfo_t *" },
b0d623f7
A
398 { "nfsv3", "op-rmdir-done", 2, 3, "RMDIR3res *", NULL },
399 { "nfsv3", "op-setattr-start", 0, 0, "struct svc_req *",
0a7de745 400 "conninfo_t *" },
b0d623f7 401 { "nfsv3", "op-setattr-start", 1, 1, "nfsv3oparg_t *",
0a7de745 402 "nfsv3opinfo_t *" },
b0d623f7
A
403 { "nfsv3", "op-setattr-start", 2, 3, "SETATTR3args *", NULL },
404 { "nfsv3", "op-setattr-done", 0, 0, "struct svc_req *",
0a7de745 405 "conninfo_t *" },
b0d623f7 406 { "nfsv3", "op-setattr-done", 1, 1, "nfsv3oparg_t *",
0a7de745 407 "nfsv3opinfo_t *" },
b0d623f7
A
408 { "nfsv3", "op-setattr-done", 2, 3, "SETATTR3res *", NULL },
409 { "nfsv3", "op-symlink-start", 0, 0, "struct svc_req *",
0a7de745 410 "conninfo_t *" },
b0d623f7 411 { "nfsv3", "op-symlink-start", 1, 1, "nfsv3oparg_t *",
0a7de745 412 "nfsv3opinfo_t *" },
b0d623f7
A
413 { "nfsv3", "op-symlink-start", 2, 3, "SYMLINK3args *", NULL },
414 { "nfsv3", "op-symlink-done", 0, 0, "struct svc_req *",
0a7de745 415 "conninfo_t *" },
b0d623f7 416 { "nfsv3", "op-symlink-done", 1, 1, "nfsv3oparg_t *",
0a7de745 417 "nfsv3opinfo_t *" },
b0d623f7
A
418 { "nfsv3", "op-symlink-done", 2, 3, "SYMLINK3res *", NULL },
419 { "nfsv3", "op-write-start", 0, 0, "struct svc_req *",
0a7de745 420 "conninfo_t *" },
b0d623f7 421 { "nfsv3", "op-write-start", 1, 1, "nfsv3oparg_t *",
0a7de745 422 "nfsv3opinfo_t *" },
b0d623f7
A
423 { "nfsv3", "op-write-start", 2, 3, "WRITE3args *", NULL },
424 { "nfsv3", "op-write-done", 0, 0, "struct svc_req *",
0a7de745 425 "conninfo_t *" },
b0d623f7 426 { "nfsv3", "op-write-done", 1, 1, "nfsv3oparg_t *",
0a7de745 427 "nfsv3opinfo_t *" },
b0d623f7
A
428 { "nfsv3", "op-write-done", 2, 3, "WRITE3res *", NULL },
429
430 { "nfsv4", "null-start", 0, 0, "struct svc_req *", "conninfo_t *" },
431 { "nfsv4", "null-done", 0, 0, "struct svc_req *", "conninfo_t *" },
432 { "nfsv4", "compound-start", 0, 0, "struct compound_state *",
0a7de745 433 "conninfo_t *" },
b0d623f7 434 { "nfsv4", "compound-start", 1, 0, "struct compound_state *",
0a7de745 435 "nfsv4opinfo_t *" },
b0d623f7
A
436 { "nfsv4", "compound-start", 2, 1, "COMPOUND4args *", NULL },
437 { "nfsv4", "compound-done", 0, 0, "struct compound_state *",
0a7de745 438 "conninfo_t *" },
b0d623f7 439 { "nfsv4", "compound-done", 1, 0, "struct compound_state *",
0a7de745 440 "nfsv4opinfo_t *" },
b0d623f7
A
441 { "nfsv4", "compound-done", 2, 1, "COMPOUND4res *", NULL },
442 { "nfsv4", "op-access-start", 0, 0, "struct compound_state *",
0a7de745 443 "conninfo_t *"},
b0d623f7 444 { "nfsv4", "op-access-start", 1, 0, "struct compound_state *",
0a7de745 445 "nfsv4opinfo_t *" },
b0d623f7
A
446 { "nfsv4", "op-access-start", 2, 1, "ACCESS4args *", NULL },
447 { "nfsv4", "op-access-done", 0, 0, "struct compound_state *",
0a7de745 448 "conninfo_t *" },
b0d623f7 449 { "nfsv4", "op-access-done", 1, 0, "struct compound_state *",
0a7de745 450 "nfsv4opinfo_t *" },
b0d623f7
A
451 { "nfsv4", "op-access-done", 2, 1, "ACCESS4res *", NULL },
452 { "nfsv4", "op-close-start", 0, 0, "struct compound_state *",
0a7de745 453 "conninfo_t *" },
b0d623f7 454 { "nfsv4", "op-close-start", 1, 0, "struct compound_state *",
0a7de745 455 "nfsv4opinfo_t *" },
b0d623f7
A
456 { "nfsv4", "op-close-start", 2, 1, "CLOSE4args *", NULL },
457 { "nfsv4", "op-close-done", 0, 0, "struct compound_state *",
0a7de745 458 "conninfo_t *" },
b0d623f7 459 { "nfsv4", "op-close-done", 1, 0, "struct compound_state *",
0a7de745 460 "nfsv4opinfo_t *" },
b0d623f7
A
461 { "nfsv4", "op-close-done", 2, 1, "CLOSE4res *", NULL },
462 { "nfsv4", "op-commit-start", 0, 0, "struct compound_state *",
0a7de745 463 "conninfo_t *" },
b0d623f7 464 { "nfsv4", "op-commit-start", 1, 0, "struct compound_state *",
0a7de745 465 "nfsv4opinfo_t *" },
b0d623f7
A
466 { "nfsv4", "op-commit-start", 2, 1, "COMMIT4args *", NULL },
467 { "nfsv4", "op-commit-done", 0, 0, "struct compound_state *",
0a7de745 468 "conninfo_t *" },
b0d623f7 469 { "nfsv4", "op-commit-done", 1, 0, "struct compound_state *",
0a7de745 470 "nfsv4opinfo_t *" },
b0d623f7
A
471 { "nfsv4", "op-commit-done", 2, 1, "COMMIT4res *", NULL },
472 { "nfsv4", "op-create-start", 0, 0, "struct compound_state *",
0a7de745 473 "conninfo_t *" },
b0d623f7 474 { "nfsv4", "op-create-start", 1, 0, "struct compound_state *",
0a7de745 475 "nfsv4opinfo_t *" },
b0d623f7
A
476 { "nfsv4", "op-create-start", 2, 1, "CREATE4args *", NULL },
477 { "nfsv4", "op-create-done", 0, 0, "struct compound_state *",
0a7de745 478 "conninfo_t *" },
b0d623f7 479 { "nfsv4", "op-create-done", 1, 0, "struct compound_state *",
0a7de745 480 "nfsv4opinfo_t *" },
b0d623f7
A
481 { "nfsv4", "op-create-done", 2, 1, "CREATE4res *", NULL },
482 { "nfsv4", "op-delegpurge-start", 0, 0, "struct compound_state *",
0a7de745 483 "conninfo_t *" },
b0d623f7 484 { "nfsv4", "op-delegpurge-start", 1, 0, "struct compound_state *",
0a7de745 485 "nfsv4opinfo_t *" },
b0d623f7
A
486 { "nfsv4", "op-delegpurge-start", 2, 1, "DELEGPURGE4args *", NULL },
487 { "nfsv4", "op-delegpurge-done", 0, 0, "struct compound_state *",
0a7de745 488 "conninfo_t *" },
b0d623f7 489 { "nfsv4", "op-delegpurge-done", 1, 0, "struct compound_state *",
0a7de745 490 "nfsv4opinfo_t *" },
b0d623f7
A
491 { "nfsv4", "op-delegpurge-done", 2, 1, "DELEGPURGE4res *", NULL },
492 { "nfsv4", "op-delegreturn-start", 0, 0, "struct compound_state *",
0a7de745 493 "conninfo_t *" },
b0d623f7 494 { "nfsv4", "op-delegreturn-start", 1, 0, "struct compound_state *",
0a7de745 495 "nfsv4opinfo_t *" },
b0d623f7
A
496 { "nfsv4", "op-delegreturn-start", 2, 1, "DELEGRETURN4args *", NULL },
497 { "nfsv4", "op-delegreturn-done", 0, 0, "struct compound_state *",
0a7de745 498 "conninfo_t *" },
b0d623f7 499 { "nfsv4", "op-delegreturn-done", 1, 0, "struct compound_state *",
0a7de745 500 "nfsv4opinfo_t *" },
b0d623f7
A
501 { "nfsv4", "op-delegreturn-done", 2, 1, "DELEGRETURN4res *", NULL },
502 { "nfsv4", "op-getattr-start", 0, 0, "struct compound_state *",
0a7de745 503 "conninfo_t *" },
b0d623f7 504 { "nfsv4", "op-getattr-start", 1, 0, "struct compound_state *",
0a7de745 505 "nfsv4opinfo_t *" },
b0d623f7
A
506 { "nfsv4", "op-getattr-start", 2, 1, "GETATTR4args *", NULL },
507 { "nfsv4", "op-getattr-done", 0, 0, "struct compound_state *",
0a7de745 508 "conninfo_t *" },
b0d623f7 509 { "nfsv4", "op-getattr-done", 1, 0, "struct compound_state *",
0a7de745 510 "nfsv4opinfo_t *" },
b0d623f7
A
511 { "nfsv4", "op-getattr-done", 2, 1, "GETATTR4res *", NULL },
512 { "nfsv4", "op-getfh-start", 0, 0, "struct compound_state *",
0a7de745 513 "conninfo_t *" },
b0d623f7 514 { "nfsv4", "op-getfh-start", 1, 0, "struct compound_state *",
0a7de745 515 "nfsv4opinfo_t *" },
b0d623f7 516 { "nfsv4", "op-getfh-done", 0, 0, "struct compound_state *",
0a7de745 517 "conninfo_t *" },
b0d623f7 518 { "nfsv4", "op-getfh-done", 1, 0, "struct compound_state *",
0a7de745 519 "nfsv4opinfo_t *" },
b0d623f7
A
520 { "nfsv4", "op-getfh-done", 2, 1, "GETFH4res *", NULL },
521 { "nfsv4", "op-link-start", 0, 0, "struct compound_state *",
0a7de745 522 "conninfo_t *" },
b0d623f7 523 { "nfsv4", "op-link-start", 1, 0, "struct compound_state *",
0a7de745 524 "nfsv4opinfo_t *" },
b0d623f7
A
525 { "nfsv4", "op-link-start", 2, 1, "LINK4args *", NULL },
526 { "nfsv4", "op-link-done", 0, 0, "struct compound_state *",
0a7de745 527 "conninfo_t *" },
b0d623f7 528 { "nfsv4", "op-link-done", 1, 0, "struct compound_state *",
0a7de745 529 "nfsv4opinfo_t *" },
b0d623f7
A
530 { "nfsv4", "op-link-done", 2, 1, "LINK4res *", NULL },
531 { "nfsv4", "op-lock-start", 0, 0, "struct compound_state *",
0a7de745 532 "conninfo_t *" },
b0d623f7 533 { "nfsv4", "op-lock-start", 1, 0, "struct compound_state *",
0a7de745 534 "nfsv4opinfo_t *" },
b0d623f7
A
535 { "nfsv4", "op-lock-start", 2, 1, "LOCK4args *", NULL },
536 { "nfsv4", "op-lock-done", 0, 0, "struct compound_state *",
0a7de745 537 "conninfo_t *" },
b0d623f7 538 { "nfsv4", "op-lock-done", 1, 0, "struct compound_state *",
0a7de745 539 "nfsv4opinfo_t *" },
b0d623f7
A
540 { "nfsv4", "op-lock-done", 2, 1, "LOCK4res *", NULL },
541 { "nfsv4", "op-lockt-start", 0, 0, "struct compound_state *",
0a7de745 542 "conninfo_t *" },
b0d623f7 543 { "nfsv4", "op-lockt-start", 1, 0, "struct compound_state *",
0a7de745 544 "nfsv4opinfo_t *" },
b0d623f7
A
545 { "nfsv4", "op-lockt-start", 2, 1, "LOCKT4args *", NULL },
546 { "nfsv4", "op-lockt-done", 0, 0, "struct compound_state *",
0a7de745 547 "conninfo_t *" },
b0d623f7 548 { "nfsv4", "op-lockt-done", 1, 0, "struct compound_state *",
0a7de745 549 "nfsv4opinfo_t *" },
b0d623f7
A
550 { "nfsv4", "op-lockt-done", 2, 1, "LOCKT4res *", NULL },
551 { "nfsv4", "op-locku-start", 0, 0, "struct compound_state *",
0a7de745 552 "conninfo_t *" },
b0d623f7 553 { "nfsv4", "op-locku-start", 1, 0, "struct compound_state *",
0a7de745 554 "nfsv4opinfo_t *" },
b0d623f7
A
555 { "nfsv4", "op-locku-start", 2, 1, "LOCKU4args *", NULL },
556 { "nfsv4", "op-locku-done", 0, 0, "struct compound_state *",
0a7de745 557 "conninfo_t *" },
b0d623f7 558 { "nfsv4", "op-locku-done", 1, 0, "struct compound_state *",
0a7de745 559 "nfsv4opinfo_t *" },
b0d623f7
A
560 { "nfsv4", "op-locku-done", 2, 1, "LOCKU4res *", NULL },
561 { "nfsv4", "op-lookup-start", 0, 0, "struct compound_state *",
0a7de745 562 "conninfo_t *" },
b0d623f7 563 { "nfsv4", "op-lookup-start", 1, 0, "struct compound_state *",
0a7de745 564 "nfsv4opinfo_t *" },
b0d623f7
A
565 { "nfsv4", "op-lookup-start", 2, 1, "LOOKUP4args *", NULL },
566 { "nfsv4", "op-lookup-done", 0, 0, "struct compound_state *",
0a7de745 567 "conninfo_t *" },
b0d623f7 568 { "nfsv4", "op-lookup-done", 1, 0, "struct compound_state *",
0a7de745 569 "nfsv4opinfo_t *" },
b0d623f7
A
570 { "nfsv4", "op-lookup-done", 2, 1, "LOOKUP4res *", NULL },
571 { "nfsv4", "op-lookupp-start", 0, 0, "struct compound_state *",
0a7de745 572 "conninfo_t *" },
b0d623f7 573 { "nfsv4", "op-lookupp-start", 1, 0, "struct compound_state *",
0a7de745 574 "nfsv4opinfo_t *" },
b0d623f7 575 { "nfsv4", "op-lookupp-done", 0, 0, "struct compound_state *",
0a7de745 576 "conninfo_t *" },
b0d623f7 577 { "nfsv4", "op-lookupp-done", 1, 0, "struct compound_state *",
0a7de745 578 "nfsv4opinfo_t *" },
b0d623f7
A
579 { "nfsv4", "op-lookupp-done", 2, 1, "LOOKUPP4res *", NULL },
580 { "nfsv4", "op-nverify-start", 0, 0, "struct compound_state *",
0a7de745 581 "conninfo_t *" },
b0d623f7 582 { "nfsv4", "op-nverify-start", 1, 0, "struct compound_state *",
0a7de745 583 "nfsv4opinfo_t *" },
b0d623f7
A
584 { "nfsv4", "op-nverify-start", 2, 1, "NVERIFY4args *", NULL },
585 { "nfsv4", "op-nverify-done", 0, 0, "struct compound_state *",
0a7de745 586 "conninfo_t *" },
b0d623f7 587 { "nfsv4", "op-nverify-done", 1, 0, "struct compound_state *",
0a7de745 588 "nfsv4opinfo_t *" },
b0d623f7
A
589 { "nfsv4", "op-nverify-done", 2, 1, "NVERIFY4res *", NULL },
590 { "nfsv4", "op-open-start", 0, 0, "struct compound_state *",
0a7de745 591 "conninfo_t *" },
b0d623f7 592 { "nfsv4", "op-open-start", 1, 0, "struct compound_state *",
0a7de745 593 "nfsv4opinfo_t *" },
b0d623f7
A
594 { "nfsv4", "op-open-start", 2, 1, "OPEN4args *", NULL },
595 { "nfsv4", "op-open-done", 0, 0, "struct compound_state *",
0a7de745 596 "conninfo_t *" },
b0d623f7 597 { "nfsv4", "op-open-done", 1, 0, "struct compound_state *",
0a7de745 598 "nfsv4opinfo_t *" },
b0d623f7
A
599 { "nfsv4", "op-open-done", 2, 1, "OPEN4res *", NULL },
600 { "nfsv4", "op-open-confirm-start", 0, 0, "struct compound_state *",
0a7de745 601 "conninfo_t *" },
b0d623f7 602 { "nfsv4", "op-open-confirm-start", 1, 0, "struct compound_state *",
0a7de745 603 "nfsv4opinfo_t *" },
b0d623f7
A
604 { "nfsv4", "op-open-confirm-start", 2, 1, "OPEN_CONFIRM4args *", NULL },
605 { "nfsv4", "op-open-confirm-done", 0, 0, "struct compound_state *",
0a7de745 606 "conninfo_t *" },
b0d623f7 607 { "nfsv4", "op-open-confirm-done", 1, 0, "struct compound_state *",
0a7de745 608 "nfsv4opinfo_t *" },
b0d623f7
A
609 { "nfsv4", "op-open-confirm-done", 2, 1, "OPEN_CONFIRM4res *", NULL },
610 { "nfsv4", "op-open-downgrade-start", 0, 0, "struct compound_state *",
0a7de745 611 "conninfo_t *" },
b0d623f7 612 { "nfsv4", "op-open-downgrade-start", 1, 0, "struct compound_state *",
0a7de745 613 "nfsv4opinfo_t *" },
b0d623f7
A
614 { "nfsv4", "op-open-downgrade-start", 2, 1, "OPEN_DOWNGRADE4args *", NULL },
615 { "nfsv4", "op-open-downgrade-done", 0, 0, "struct compound_state *",
0a7de745 616 "conninfo_t *" },
b0d623f7 617 { "nfsv4", "op-open-downgrade-done", 1, 0, "struct compound_state *",
0a7de745 618 "nfsv4opinfo_t *" },
b0d623f7
A
619 { "nfsv4", "op-open-downgrade-done", 2, 1, "OPEN_DOWNGRADE4res *", NULL },
620 { "nfsv4", "op-openattr-start", 0, 0, "struct compound_state *",
0a7de745 621 "conninfo_t *" },
b0d623f7 622 { "nfsv4", "op-openattr-start", 1, 0, "struct compound_state *",
0a7de745 623 "nfsv4opinfo_t *" },
b0d623f7
A
624 { "nfsv4", "op-openattr-start", 2, 1, "OPENATTR4args *", NULL },
625 { "nfsv4", "op-openattr-done", 0, 0, "struct compound_state *",
0a7de745 626 "conninfo_t *" },
b0d623f7 627 { "nfsv4", "op-openattr-done", 1, 0, "struct compound_state *",
0a7de745 628 "nfsv4opinfo_t *" },
b0d623f7
A
629 { "nfsv4", "op-openattr-done", 2, 1, "OPENATTR4res *", NULL },
630 { "nfsv4", "op-putfh-start", 0, 0, "struct compound_state *",
0a7de745 631 "conninfo_t *" },
b0d623f7 632 { "nfsv4", "op-putfh-start", 1, 0, "struct compound_state *",
0a7de745 633 "nfsv4opinfo_t *" },
b0d623f7
A
634 { "nfsv4", "op-putfh-start", 2, 1, "PUTFH4args *", NULL },
635 { "nfsv4", "op-putfh-done", 0, 0, "struct compound_state *",
0a7de745 636 "conninfo_t *" },
b0d623f7 637 { "nfsv4", "op-putfh-done", 1, 0, "struct compound_state *",
0a7de745 638 "nfsv4opinfo_t *" },
b0d623f7
A
639 { "nfsv4", "op-putfh-done", 2, 1, "PUTFH4res *", NULL },
640 { "nfsv4", "op-putpubfh-start", 0, 0, "struct compound_state *",
0a7de745 641 "conninfo_t *" },
b0d623f7 642 { "nfsv4", "op-putpubfh-start", 1, 0, "struct compound_state *",
0a7de745 643 "nfsv4opinfo_t *" },
b0d623f7 644 { "nfsv4", "op-putpubfh-done", 0, 0, "struct compound_state *",
0a7de745 645 "conninfo_t *" },
b0d623f7 646 { "nfsv4", "op-putpubfh-done", 1, 0, "struct compound_state *",
0a7de745 647 "nfsv4opinfo_t *" },
b0d623f7
A
648 { "nfsv4", "op-putpubfh-done", 2, 1, "PUTPUBFH4res *", NULL },
649 { "nfsv4", "op-putrootfh-start", 0, 0, "struct compound_state *",
0a7de745 650 "conninfo_t *" },
b0d623f7 651 { "nfsv4", "op-putrootfh-start", 1, 0, "struct compound_state *",
0a7de745 652 "nfsv4opinfo_t *" },
b0d623f7 653 { "nfsv4", "op-putrootfh-done", 0, 0, "struct compound_state *",
0a7de745 654 "conninfo_t *" },
b0d623f7 655 { "nfsv4", "op-putrootfh-done", 1, 0, "struct compound_state *",
0a7de745 656 "nfsv4opinfo_t *" },
b0d623f7
A
657 { "nfsv4", "op-putrootfh-done", 2, 1, "PUTROOTFH4res *", NULL },
658 { "nfsv4", "op-read-start", 0, 0, "struct compound_state *",
0a7de745 659 "conninfo_t *" },
b0d623f7 660 { "nfsv4", "op-read-start", 1, 0, "struct compound_state *",
0a7de745 661 "nfsv4opinfo_t *" },
b0d623f7
A
662 { "nfsv4", "op-read-start", 2, 1, "READ4args *", NULL },
663 { "nfsv4", "op-read-done", 0, 0, "struct compound_state *",
0a7de745 664 "conninfo_t *" },
b0d623f7 665 { "nfsv4", "op-read-done", 1, 0, "struct compound_state *",
0a7de745 666 "nfsv4opinfo_t *" },
b0d623f7
A
667 { "nfsv4", "op-read-done", 2, 1, "READ4res *", NULL },
668 { "nfsv4", "op-readdir-start", 0, 0, "struct compound_state *",
0a7de745 669 "conninfo_t *" },
b0d623f7 670 { "nfsv4", "op-readdir-start", 1, 0, "struct compound_state *",
0a7de745 671 "nfsv4opinfo_t *" },
b0d623f7
A
672 { "nfsv4", "op-readdir-start", 2, 1, "READDIR4args *", NULL },
673 { "nfsv4", "op-readdir-done", 0, 0, "struct compound_state *",
0a7de745 674 "conninfo_t *" },
b0d623f7 675 { "nfsv4", "op-readdir-done", 1, 0, "struct compound_state *",
0a7de745 676 "nfsv4opinfo_t *" },
b0d623f7
A
677 { "nfsv4", "op-readdir-done", 2, 1, "READDIR4res *", NULL },
678 { "nfsv4", "op-readlink-start", 0, 0, "struct compound_state *",
0a7de745 679 "conninfo_t *" },
b0d623f7 680 { "nfsv4", "op-readlink-start", 1, 0, "struct compound_state *",
0a7de745 681 "nfsv4opinfo_t *" },
b0d623f7 682 { "nfsv4", "op-readlink-done", 0, 0, "struct compound_state *",
0a7de745 683 "conninfo_t *" },
b0d623f7 684 { "nfsv4", "op-readlink-done", 1, 0, "struct compound_state *",
0a7de745 685 "nfsv4opinfo_t *" },
b0d623f7
A
686 { "nfsv4", "op-readlink-done", 2, 1, "READLINK4res *", NULL },
687 { "nfsv4", "op-release-lockowner-start", 0, 0,
0a7de745 688 "struct compound_state *", "conninfo_t *" },
b0d623f7 689 { "nfsv4", "op-release-lockowner-start", 1, 0,
0a7de745 690 "struct compound_state *", "nfsv4opinfo_t *" },
b0d623f7 691 { "nfsv4", "op-release-lockowner-start", 2, 1,
0a7de745 692 "RELEASE_LOCKOWNER4args *", NULL },
b0d623f7 693 { "nfsv4", "op-release-lockowner-done", 0, 0,
0a7de745 694 "struct compound_state *", "conninfo_t *" },
b0d623f7 695 { "nfsv4", "op-release-lockowner-done", 1, 0,
0a7de745 696 "struct compound_state *", "nfsv4opinfo_t *" },
b0d623f7 697 { "nfsv4", "op-release-lockowner-done", 2, 1,
0a7de745 698 "RELEASE_LOCKOWNER4res *", NULL },
b0d623f7 699 { "nfsv4", "op-remove-start", 0, 0, "struct compound_state *",
0a7de745 700 "conninfo_t *" },
b0d623f7 701 { "nfsv4", "op-remove-start", 1, 0, "struct compound_state *",
0a7de745 702 "nfsv4opinfo_t *" },
b0d623f7
A
703 { "nfsv4", "op-remove-start", 2, 1, "REMOVE4args *", NULL },
704 { "nfsv4", "op-remove-done", 0, 0, "struct compound_state *",
0a7de745 705 "conninfo_t *" },
b0d623f7 706 { "nfsv4", "op-remove-done", 1, 0, "struct compound_state *",
0a7de745 707 "nfsv4opinfo_t *" },
b0d623f7
A
708 { "nfsv4", "op-remove-done", 2, 1, "REMOVE4res *", NULL },
709 { "nfsv4", "op-rename-start", 0, 0, "struct compound_state *",
0a7de745 710 "conninfo_t *" },
b0d623f7 711 { "nfsv4", "op-rename-start", 1, 0, "struct compound_state *",
0a7de745 712 "nfsv4opinfo_t *" },
b0d623f7
A
713 { "nfsv4", "op-rename-start", 2, 1, "RENAME4args *", NULL },
714 { "nfsv4", "op-rename-done", 0, 0, "struct compound_state *",
0a7de745 715 "conninfo_t *" },
b0d623f7 716 { "nfsv4", "op-rename-done", 1, 0, "struct compound_state *",
0a7de745 717 "nfsv4opinfo_t *" },
b0d623f7
A
718 { "nfsv4", "op-rename-done", 2, 1, "RENAME4res *", NULL },
719 { "nfsv4", "op-renew-start", 0, 0, "struct compound_state *",
0a7de745 720 "conninfo_t *" },
b0d623f7 721 { "nfsv4", "op-renew-start", 1, 0, "struct compound_state *",
0a7de745 722 "nfsv4opinfo_t *" },
b0d623f7
A
723 { "nfsv4", "op-renew-start", 2, 1, "RENEW4args *", NULL },
724 { "nfsv4", "op-renew-done", 0, 0, "struct compound_state *",
0a7de745 725 "conninfo_t *" },
b0d623f7 726 { "nfsv4", "op-renew-done", 1, 0, "struct compound_state *",
0a7de745 727 "nfsv4opinfo_t *" },
b0d623f7
A
728 { "nfsv4", "op-renew-done", 2, 1, "RENEW4res *", NULL },
729 { "nfsv4", "op-restorefh-start", 0, 0, "struct compound_state *",
0a7de745 730 "conninfo_t *" },
b0d623f7 731 { "nfsv4", "op-restorefh-start", 1, 0, "struct compound_state *",
0a7de745 732 "nfsv4opinfo_t *" },
b0d623f7 733 { "nfsv4", "op-restorefh-done", 0, 0, "struct compound_state *",
0a7de745 734 "conninfo_t *" },
b0d623f7 735 { "nfsv4", "op-restorefh-done", 1, 0, "struct compound_state *",
0a7de745 736 "nfsv4opinfo_t *" },
b0d623f7
A
737 { "nfsv4", "op-restorefh-done", 2, 1, "RESTOREFH4res *", NULL },
738 { "nfsv4", "op-savefh-start", 0, 0, "struct compound_state *",
0a7de745 739 "conninfo_t *" },
b0d623f7 740 { "nfsv4", "op-savefh-start", 1, 0, "struct compound_state *",
0a7de745 741 "nfsv4opinfo_t *" },
b0d623f7 742 { "nfsv4", "op-savefh-done", 0, 0, "struct compound_state *",
0a7de745 743 "conninfo_t *" },
b0d623f7 744 { "nfsv4", "op-savefh-done", 1, 0, "struct compound_state *",
0a7de745 745 "nfsv4opinfo_t *" },
b0d623f7
A
746 { "nfsv4", "op-savefh-done", 2, 1, "SAVEFH4res *", NULL },
747 { "nfsv4", "op-secinfo-start", 0, 0, "struct compound_state *",
0a7de745 748 "conninfo_t *" },
b0d623f7 749 { "nfsv4", "op-secinfo-start", 1, 0, "struct compound_state *",
0a7de745 750 "nfsv4opinfo_t *" },
b0d623f7
A
751 { "nfsv4", "op-secinfo-start", 2, 1, "SECINFO4args *", NULL },
752 { "nfsv4", "op-secinfo-done", 0, 0, "struct compound_state *",
0a7de745 753 "conninfo_t *" },
b0d623f7 754 { "nfsv4", "op-secinfo-done", 1, 0, "struct compound_state *",
0a7de745 755 "nfsv4opinfo_t *" },
b0d623f7
A
756 { "nfsv4", "op-secinfo-done", 2, 1, "SECINFO4res *", NULL },
757 { "nfsv4", "op-setattr-start", 0, 0, "struct compound_state *",
0a7de745 758 "conninfo_t *" },
b0d623f7 759 { "nfsv4", "op-setattr-start", 1, 0, "struct compound_state *",
0a7de745 760 "nfsv4opinfo_t *" },
b0d623f7
A
761 { "nfsv4", "op-setattr-start", 2, 1, "SETATTR4args *", NULL },
762 { "nfsv4", "op-setattr-done", 0, 0, "struct compound_state *",
0a7de745 763 "conninfo_t *" },
b0d623f7 764 { "nfsv4", "op-setattr-done", 1, 0, "struct compound_state *",
0a7de745 765 "nfsv4opinfo_t *" },
b0d623f7
A
766 { "nfsv4", "op-setattr-done", 2, 1, "SETATTR4res *", NULL },
767 { "nfsv4", "op-setclientid-start", 0, 0, "struct compound_state *",
0a7de745 768 "conninfo_t *" },
b0d623f7 769 { "nfsv4", "op-setclientid-start", 1, 0, "struct compound_state *",
0a7de745 770 "nfsv4opinfo_t *" },
b0d623f7
A
771 { "nfsv4", "op-setclientid-start", 2, 1, "SETCLIENTID4args *", NULL },
772 { "nfsv4", "op-setclientid-done", 0, 0, "struct compound_state *",
0a7de745 773 "conninfo_t *" },
b0d623f7 774 { "nfsv4", "op-setclientid-done", 1, 0, "struct compound_state *",
0a7de745 775 "nfsv4opinfo_t *" },
b0d623f7
A
776 { "nfsv4", "op-setclientid-done", 2, 1, "SETCLIENTID4res *", NULL },
777 { "nfsv4", "op-setclientid-confirm-start", 0, 0,
0a7de745 778 "struct compound_state *", "conninfo_t *" },
b0d623f7 779 { "nfsv4", "op-setclientid-confirm-start", 1, 0,
0a7de745 780 "struct compound_state *", "nfsv4opinfo_t *" },
b0d623f7 781 { "nfsv4", "op-setclientid-confirm-start", 2, 1,
0a7de745 782 "SETCLIENTID_CONFIRM4args *", NULL },
b0d623f7 783 { "nfsv4", "op-setclientid-confirm-done", 0, 0,
0a7de745 784 "struct compound_state *", "conninfo_t *" },
b0d623f7 785 { "nfsv4", "op-setclientid-confirm-done", 1, 0,
0a7de745 786 "struct compound_state *", "nfsv4opinfo_t *" },
b0d623f7 787 { "nfsv4", "op-setclientid-confirm-done", 2, 1,
0a7de745 788 "SETCLIENTID_CONFIRM4res *", NULL },
b0d623f7 789 { "nfsv4", "op-verify-start", 0, 0, "struct compound_state *",
0a7de745 790 "conninfo_t *" },
b0d623f7 791 { "nfsv4", "op-verify-start", 1, 0, "struct compound_state *",
0a7de745 792 "nfsv4opinfo_t *" },
b0d623f7
A
793 { "nfsv4", "op-verify-start", 2, 1, "VERIFY4args *", NULL },
794 { "nfsv4", "op-verify-done", 0, 0, "struct compound_state *",
0a7de745 795 "conninfo_t *" },
b0d623f7 796 { "nfsv4", "op-verify-done", 1, 0, "struct compound_state *",
0a7de745 797 "nfsv4opinfo_t *" },
b0d623f7
A
798 { "nfsv4", "op-verify-done", 2, 1, "VERIFY4res *", NULL },
799 { "nfsv4", "op-write-start", 0, 0, "struct compound_state *",
0a7de745 800 "conninfo_t *" },
b0d623f7 801 { "nfsv4", "op-write-start", 1, 0, "struct compound_state *",
0a7de745 802 "nfsv4opinfo_t *" },
b0d623f7
A
803 { "nfsv4", "op-write-start", 2, 1, "WRITE4args *", NULL },
804 { "nfsv4", "op-write-done", 0, 0, "struct compound_state *",
0a7de745 805 "conninfo_t *" },
b0d623f7 806 { "nfsv4", "op-write-done", 1, 0, "struct compound_state *",
0a7de745 807 "nfsv4opinfo_t *" },
b0d623f7
A
808 { "nfsv4", "op-write-done", 2, 1, "WRITE4res *", NULL },
809 { "nfsv4", "cb-recall-start", 0, 0, "rfs4_client_t *",
0a7de745 810 "conninfo_t *" },
b0d623f7 811 { "nfsv4", "cb-recall-start", 1, 1, "rfs4_deleg_state_t *",
0a7de745 812 "nfsv4cbinfo_t *" },
b0d623f7
A
813 { "nfsv4", "cb-recall-start", 2, 2, "CB_RECALL4args *", NULL },
814 { "nfsv4", "cb-recall-done", 0, 0, "rfs4_client_t *",
0a7de745 815 "conninfo_t *" },
b0d623f7 816 { "nfsv4", "cb-recall-done", 1, 1, "rfs4_deleg_state_t *",
0a7de745 817 "nfsv4cbinfo_t *" },
b0d623f7
A
818 { "nfsv4", "cb-recall-done", 2, 2, "CB_RECALL4res *", NULL },
819
6d2010ae
A
820 { "ip", "send", 0, 0, "struct mbuf *", "pktinfo_t *" },
821 { "ip", "send", 1, 1, "struct inpcb *", "csinfo_t *" },
b0d623f7 822 { "ip", "send", 2, 2, "void_ip_t *", "ipinfo_t *" },
6d2010ae
A
823 { "ip", "send", 3, 3, "struct ifnet *", "ifinfo_t *" },
824 { "ip", "send", 4, 4, "struct ip *", "ipv4info_t *" },
825 { "ip", "send", 5, 5, "struct ip6_hdr *", "ipv6info_t *" },
826 { "ip", "receive", 0, 0, "struct mbuf *", "pktinfo_t *" },
827 { "ip", "receive", 1, 1, "struct inpcb *", "csinfo_t *" },
b0d623f7 828 { "ip", "receive", 2, 2, "void_ip_t *", "ipinfo_t *" },
6d2010ae
A
829 { "ip", "receive", 3, 3, "struct ifnet *", "ifinfo_t *" },
830 { "ip", "receive", 4, 4, "struct ip *", "ipv4info_t *" },
831 { "ip", "receive", 5, 5, "struct ip6_hdr *", "ipv6info_t *" },
b0d623f7 832
6d2010ae
A
833 { "tcp", "connect-established", 0, 0, "struct mbuf *", "pktinfo_t *" },
834 { "tcp", "connect-established", 1, 1, "struct inpcb *", "csinfo_t *" },
835 { "tcp", "connect-established", 2, 2, "void_ip_t *", "ipinfo_t *" },
836 { "tcp", "connect-established", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
837 { "tcp", "connect-established", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
838 { "tcp", "connect-refused", 0, 0, "struct mbuf *", "pktinfo_t *" },
839 { "tcp", "connect-refused", 1, 1, "struct inpcb *", "csinfo_t *" },
840 { "tcp", "connect-refused", 2, 2, "void_ip_t *", "ipinfo_t *" },
841 { "tcp", "connect-refused", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
842 { "tcp", "connect-refused", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
843 { "tcp", "connect-request", 0, 0, "struct mbuf *", "pktinfo_t *" },
844 { "tcp", "connect-request", 1, 1, "struct inpcb *", "csinfo_t *" },
845 { "tcp", "connect-request", 2, 2, "void_ip_t *", "ipinfo_t *" },
846 { "tcp", "connect-request", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
847 { "tcp", "connect-request", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
848 { "tcp", "accept-established", 0, 0, "struct mbuf *", "pktinfo_t *" },
849 { "tcp", "accept-established", 1, 1, "struct inpcb *", "csinfo_t *" },
850 { "tcp", "accept-established", 2, 2, "void_ip_t *", "ipinfo_t *" },
851 { "tcp", "accept-established", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
852 { "tcp", "accept-established", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
853 { "tcp", "accept-refused", 0, 0, "struct mbuf *", "pktinfo_t *" },
854 { "tcp", "accept-refused", 1, 1, "struct inpcb *", "csinfo_t *" },
855 { "tcp", "accept-refused", 2, 2, "void_ip_t *", "ipinfo_t *" },
856 { "tcp", "accept-refused", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
857 { "tcp", "accept-refused", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
858 { "tcp", "state-change", 0, 0, "void", "void" },
859 { "tcp", "state-change", 1, 1, "struct inpcb *", "csinfo_t *" },
860 { "tcp", "state-change", 2, 2, "struct tcpcb *", "tcpsinfo_t *" },
861 { "tcp", "state-change", 3, 3, "int32_t", "tcpnsinfo_t *" },
862 { "tcp", "send", 0, 0, "struct mbuf *", "pktinfo_t *" },
863 { "tcp", "send", 1, 1, "struct inpcb *", "csinfo_t *" },
864 { "tcp", "send", 2, 2, "void_ip_t *", "ipinfo_t *" },
865 { "tcp", "send", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
866 { "tcp", "send", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
867 { "tcp", "receive", 0, 0, "struct mbuf *", "pktinfo_t *" },
868 { "tcp", "receive", 1, 1, "struct inpcb *", "csinfo_t *" },
869 { "tcp", "receive", 2, 2, "void_ip_t *", "ipinfo_t *" },
870 { "tcp", "receive", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
871 { "tcp", "receive", 4, 4, "struct tcphdr *", "tcpinfo_t *" },
872 { "tcp", "cc", 0, 0, "struct mbuf *", "pktinfo_t *"},
873 { "tcp", "cc", 1, 1, "struct inpcb *", "csinfo_t *"},
874 { "tcp", "cc", 2, 2, "struct tcpcb *", "tcpsinfo_t *"},
875 { "tcp", "cc", 3, 3, "struct tcphdr *", "tcpinfo_t *"},
876 { "tcp", "cc", 4, 4, "int32_t", "tcpccevent_t *"},
877 { "tcp", "iaj", 0, 0, "struct tcpcb *", "tcpsinfo_t *"},
878 { "tcp", "iaj", 1, 1, "uint32_t", NULL},
879 { "tcp", "iaj", 2, 2, "uint32_t", NULL},
b0d623f7
A
880 { "sysevent", "post", 0, 0, "evch_bind_t *", "syseventchaninfo_t *" },
881 { "sysevent", "post", 1, 1, "sysevent_impl_t *", "syseventinfo_t *" },
39236c6e
A
882 /* mptcp::input has no arguments */
883 { "mptcp", "receive-degraded", 0, 0, "struct mbuf *", "pktinfo_t *" },
884 { "mptcp", "receive-degraded", 1, 1, "struct socket *", "socketinfo_t *" },
885 { "mptcp", "receive-degraded", 2, 2, "struct sockbuf *", "socketbuf_t *" },
886 { "mptcp", "receive-degraded", 3, 3, "struct sockbuf *", "socketbuf_t *" },
887 { "mptcp", "receive-degraded", 4, 4, "struct mptses *", "mptsesinfo_t *" },
888 { "mptcp", "receive", 0, 0, "struct mbuf *", "pktinfo_t *" },
889 { "mptcp", "receive", 1, 1, "struct socket *", "socketinfo_t *" },
890 { "mptcp", "receive", 2, 2, "struct sockbuf *", "socketbuf_t *" },
891 { "mptcp", "receive", 3, 3, "struct sockbuf *", "socketbuf_t *" },
892 { "mptcp", "receive", 4, 4, "struct mptses *", "mptsesinfo_t *" },
893 { "mptcp", "receive", 5, 5, "struct mptcb *", "mptsinfo_t *" },
894 { "mptcp", "output", 0, 0, "struct mptses *", "mptsesinfo_t *" },
895 { "mptcp", "output", 1, 1, "struct mptsub *", "mptsubinfo_t *" },
896 { "mptcp", "output", 2, 2, "struct socket *", "socketinfo_t *" },
897 { "mptcp", "state-change", 0, 0, "struct mptcb *", "mptsinfo_t *" },
898 { "mptcp", "state-change", 1, 1, "uint32_t", "uint32_t" },
899 { "mptcp", "checksum-result", 0, 0, "struct tcpcb *", "tcpsinfo_t *" },
900 { "mptcp", "checksum-result", 1, 1, "struct mbuf *", "pktinfo_t *" },
901 { "mptcp", "checksum-result", 2, 2, "uint32_t", "uint32_t" },
5ba3f43e 902 { "mptcp", "session-create", 0, 0, "struct mppcb *", "mppsinfo_t *" },
39236c6e
A
903 { "mptcp", "session-destroy", 0, 0, "struct mptses *", "mptsesinfo_t *" },
904 { "mptcp", "session-destroy", 1, 1, "struct mptcb *", "mptsinfo_t *" },
905 { "mptcp", "subflow-create", 0, 0, "struct mptses *", "mptsesinfo_t *"},
906 { "mptcp", "subflow-create", 1, 1, "struct mptsub *", "mptsubinfo_t *"},
907 { "mptcp", "subflow-create", 2, 2, "int", "int" },
908 { "mptcp", "subflow-create", 3, 3, "int", "int" },
909 { "mptcp", "subflow-close", 0, 0, "struct mptsub *", "mptsubinfo_t *" },
910 { "mptcp", "subflow-close", 1, 1, "struct socket *", "socketinfo_t *" },
911 { "mptcp", "subflow-close", 2, 2, "struct sockbuf *", "socketbuf_t *" },
912 { "mptcp", "subflow-close", 3, 3, "struct sockbuf *", "socketbuf_t *" },
913 { "mptcp", "subflow-close", 4, 4, "struct mptses *", "mptsesinfo_t *" },
914 { "mptcp", "subflow-connect", 0, 0, "struct mptses *", "mptsesinfo_t *" },
915 { "mptcp", "subflow-connect", 1, 1, "struct mptsub *", "mptsubinfo_t *" },
916 { "mptcp", "subflow-connect", 2, 2, "int", "int" },
917 { "mptcp", "subflow-receive", 0, 0, "struct socket *", "socketinfo_t *" },
918 { "mptcp", "subflow-receive", 1, 1, "struct sockbuf *", "socketbuf_t *" },
919 { "mptcp", "subflow-receive", 2, 2, "struct sockbuf *", "socketbuf_t *" },
39236c6e
A
920 { "mptcp", "subflow-input", 0, 0, "struct mptses *", "mptsesinfo_t *" },
921 { "mptcp", "subflow-input", 1, 1, "struct mptsub *", "mptsubinfo_t *" },
922 { "mptcp", "subflow-output", 0, 0, "struct mptses *", "mptsesinfo_t *"},
923 { "mptcp", "subflow-output", 1, 1, "struct mptsub *", "mptsubinfo_t *"},
924 { "mptcp", "subflow-events", 0, 0, "struct mptses *", "mptsesinfo_t *"},
925 { "mptcp", "subflow-events", 1, 1, "struct mptsub *", "mptsubinfo_t *"},
926 { "mptcp", "subflow-events", 2, 2, "uint32_t", "uint32_t"},
927 { "mptcp", "send", 0, 0, "struct mbuf *", "pktinfo_t *" },
928 { "mptcp", "send", 1, 1, "struct socket *", "socketinfo_t *" },
929 { "mptcp", "send", 2, 2, "struct sockbuf *", "socketbuf_t *" },
930 { "mptcp", "send", 3, 3, "struct sockbuf *", "socketbuf_t *" },
931 { "mptcp", "send", 4, 4, "struct mptses *", "mptsesinfo_t *" },
932 { "mptcp", "send", 5, 5, "struct mptsub *", "mptsubinfo_t *" },
933 { "mptcp", "send", 6, 6, "size_t", "size_t" },
934 { "mptcp", "dispose", 0, 0, "struct socket *", "socketinfo_t *" },
935 { "mptcp", "dispose", 1, 1, "struct sockbuf *", "socketbuf_t *" },
936 { "mptcp", "dispose", 2, 2, "struct sockbuf *", "socketbuf_t *" },
937 { "mptcp", "dispose", 3, 3, "struct mppcb *", "mppsinfo_t *" },
938 { "mptcp", "multipath-ready", 0, 0, "struct socket *", "socketinfo_t *" },
939 { "mptcp", "multipath-ready", 1, 1, "struct sockbuf *", "socketbuf_t *" },
940 { "mptcp", "multipath-ready", 2, 2, "struct sockbuf *", "socketbuf_t *" },
941 { "mptcp", "multipath-ready", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
942 { "mptcp", "multipath-failed", 0, 0, "struct socket *", "socketinfo_t *" },
943 { "mptcp", "multipath-failed", 1, 1, "struct sockbuf *", "socketbuf_t *" },
944 { "mptcp", "multipath-failed", 2, 2, "struct sockbuf *", "socketbuf_t *" },
945 { "mptcp", "multipath-failed", 3, 3, "struct tcpcb *", "tcpsinfo_t *" },
946 { "mptcp", "start-timer", 0, 0, "struct mptcb *", "mptsinfo_t *" },
947 { "mptcp", "start-timer", 1, 1, "int", "int" },
948 { "mptcp", "cancel-timer", 0, 0, "struct mptcb *", "mptsinfo_t *" },
949 { "mptcp", "cancel-timer", 1, 1, "int", "int" },
950 { "mptcp", "timer", 0, 0, "struct mptses *", "mptsesinfo_t *" },
951 { "mptcp", "timer", 1, 1, "struct mptcb *", "mptsinfo_t *" },
952 { "mptcp", "error", 0, 0, "struct mptcb *", "mptsinfo_t *" },
953 { "mptcp", "connectx", 0, 0, "struct mptses *", "mptsesinfo_t *" },
3e170ce0 954 { "mptcp", "connectx", 1, 1, "sae_associd_t", "sae_associd_t" },
39236c6e
A
955 { "mptcp", "connectx", 2, 2, "struct socket *", "socketinfo_t *" },
956 { "mptcp", "disconnectx", 0, 0, "struct mptses *", "mptsesinfo_t *" },
3e170ce0
A
957 { "mptcp", "disconnectx", 1, 1, "sae_associd_t", "sae_associd_t" },
958 { "mptcp", "disconnectx", 2, 2, "sae_connid_t", "sae_connid_t" },
39236c6e
A
959 { "mptcp", "disconnectx", 3, 3, "struct socket *", "sockinfo_t *" },
960 { "mptcp", "disconnectx", 4, 4, "struct mptcb *", "mptsinfo_t *" },
a39ff7e2
A
961 {"vminfo", "kalloc", 0, 0, "vm_size_t", "vm_size_t" },
962 {"vminfo", "kalloc", 1, 1, "vm_size_t", "vm_size_t" },
963 {"vminfo", "kalloc", 2, 2, "void*", "void*" },
964 {"vminfo", "kfree", 0, 0, "vm_size_t", "vm_size_t" },
965 {"vminfo", "kfree", 1, 1, "vm_size_t", "vm_size_t" },
966 {"vminfo", "kfree", 2, 2, "void*", "void*" },
967 {"vminfo", "zalloc", 0, 0, "zone_t", "zone_t" },
968 {"vminfo", "zalloc", 1, 1, "void*", "void*" },
969 {"vminfo", "zfree", 0, 0, "zone_t", "zone_t" },
970 {"vminfo", "zfree", 1, 1, "void*", "void*" },
f427ee49
A
971 {"hv", "guest-enter", 0, 0, "uint32_t", "uint32_t" },
972 {"hv", "guest-enter", 1, 1, "uint64_t *", "guest_regs_t *" },
973 {"hv", "guest-exit", 0, 0, "uint32_t", "uint32_t" },
974 {"hv", "guest-exit", 1, 1, "uint64_t *", "guest_regs_t *" },
c3c9b80d
A
975 {"hv", "guest-error", 0, 0, "uint32_t", "uint32_t" },
976 {"hv", "guest-error", 1, 1, "uint64_t *", "guest_regs_t *" },
977 {"hv", "guest-error", 2, 2, "uint32_t", "uint32_t" },
b0d623f7 978 { NULL, NULL, 0, 0, NULL, NULL }
2d21ac55
A
979};
980
981/*ARGSUSED*/
982void
983sdt_getargdesc(void *arg, dtrace_id_t id, void *parg, dtrace_argdesc_t *desc)
984{
985#pragma unused(arg, id)
986 sdt_probe_t *sdp = parg;
987 int i;
988
989 desc->dtargd_native[0] = '\0';
990 desc->dtargd_xlate[0] = '\0';
991
992 for (i = 0; sdt_args[i].sda_provider != NULL; i++) {
993 sdt_argdesc_t *a = &sdt_args[i];
994
0a7de745 995 if (strncmp(sdp->sdp_provider->sdtp_name, a->sda_provider, strlen(a->sda_provider) + 1) != 0) {
b0d623f7 996 continue;
0a7de745 997 }
b0d623f7
A
998
999 if (a->sda_name != NULL &&
0a7de745 1000 strncmp(sdp->sdp_name, a->sda_name, strlen(a->sda_name) + 1) != 0) {
b0d623f7 1001 continue;
0a7de745 1002 }
b0d623f7 1003
0a7de745 1004 if (desc->dtargd_ndx != a->sda_ndx) {
b0d623f7 1005 continue;
0a7de745 1006 }
b0d623f7 1007
0a7de745 1008 if (a->sda_native != NULL) {
b0d623f7 1009 (void) strlcpy(desc->dtargd_native, a->sda_native, DTRACE_ARGTYPELEN);
0a7de745 1010 }
b0d623f7 1011
0a7de745 1012 if (a->sda_xlate != NULL) {
b0d623f7 1013 (void) strlcpy(desc->dtargd_xlate, a->sda_xlate, DTRACE_ARGTYPELEN);
0a7de745 1014 }
2d21ac55
A
1015
1016 desc->dtargd_mapping = a->sda_mapping;
1017 return;
1018 }
1019
1020 desc->dtargd_ndx = DTRACE_ARGNONE;
1021}