systrace_args.c (ddfe0c2ba4320125e5a2614f7079923ba22d9571) systrace_args.c (e776709347943dc65173deaec21ce5e6c301ebf4)
1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
8

--- 3106 unchanged lines hidden (view full) ---

3115 uarg[1] = (intptr_t) p->in; /* fd_set * */
3116 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3117 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3118 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3119 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3120 *n_args = 6;
3121 break;
3122 }
1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
8

--- 3106 unchanged lines hidden (view full) ---

3115 uarg[1] = (intptr_t) p->in; /* fd_set * */
3116 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3117 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3118 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3119 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3120 *n_args = 6;
3121 break;
3122 }
3123 /* getloginclass */
3124 case 523: {
3125 struct getloginclass_args *p = params;
3126 uarg[0] = (intptr_t) p->namebuf; /* char * */
3127 uarg[1] = p->namelen; /* size_t */
3128 *n_args = 2;
3129 break;
3130 }
3131 /* setloginclass */
3132 case 524: {
3133 struct setloginclass_args *p = params;
3134 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3135 *n_args = 1;
3136 break;
3137 }
3123 default:
3124 *n_args = 0;
3125 break;
3126 };
3127}
3128static void
3129systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3130{

--- 5154 unchanged lines hidden (view full) ---

8285 break;
8286 case 5:
8287 p = "const sigset_t *";
8288 break;
8289 default:
8290 break;
8291 };
8292 break;
3138 default:
3139 *n_args = 0;
3140 break;
3141 };
3142}
3143static void
3144systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3145{

--- 5154 unchanged lines hidden (view full) ---

8300 break;
8301 case 5:
8302 p = "const sigset_t *";
8303 break;
8304 default:
8305 break;
8306 };
8307 break;
8308 /* getloginclass */
8309 case 523:
8310 switch(ndx) {
8311 case 0:
8312 p = "char *";
8313 break;
8314 case 1:
8315 p = "size_t";
8316 break;
8317 default:
8318 break;
8319 };
8320 break;
8321 /* setloginclass */
8322 case 524:
8323 switch(ndx) {
8324 case 0:
8325 p = "const char *";
8326 break;
8327 default:
8328 break;
8329 };
8330 break;
8293 default:
8294 break;
8295 };
8296 if (p != NULL)
8297 strlcpy(desc, p, descsz);
8298}
8331 default:
8332 break;
8333 };
8334 if (p != NULL)
8335 strlcpy(desc, p, descsz);
8336}