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