systrace_args.c (eb2e5544d369ab3079643e647bd9206a3a96b8f4) systrace_args.c (a566e8e3c5b6e5574dbb29a86a4d418162b4af52)
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

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

3371 }
3372 /* aio_mlock */
3373 case 543: {
3374 struct aio_mlock_args *p = params;
3375 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3376 *n_args = 1;
3377 break;
3378 }
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

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

3371 }
3372 /* aio_mlock */
3373 case 543: {
3374 struct aio_mlock_args *p = params;
3375 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3376 *n_args = 1;
3377 break;
3378 }
3379 /* procctl */
3380 case 544: {
3381 struct procctl_args *p = params;
3382 iarg[0] = p->idtype; /* idtype_t */
3383 iarg[1] = p->id; /* id_t */
3384 iarg[2] = p->com; /* int */
3385 uarg[3] = (intptr_t) p->data; /* void * */
3386 *n_args = 4;
3387 break;
3388 }
3379 default:
3380 *n_args = 0;
3381 break;
3382 };
3383}
3384static void
3385systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3386{

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

8990 switch(ndx) {
8991 case 0:
8992 p = "struct aiocb *";
8993 break;
8994 default:
8995 break;
8996 };
8997 break;
3389 default:
3390 *n_args = 0;
3391 break;
3392 };
3393}
3394static void
3395systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3396{

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

9000 switch(ndx) {
9001 case 0:
9002 p = "struct aiocb *";
9003 break;
9004 default:
9005 break;
9006 };
9007 break;
9008 /* procctl */
9009 case 544:
9010 switch(ndx) {
9011 case 0:
9012 p = "idtype_t";
9013 break;
9014 case 1:
9015 p = "id_t";
9016 break;
9017 case 2:
9018 p = "int";
9019 break;
9020 case 3:
9021 p = "void *";
9022 break;
9023 default:
9024 break;
9025 };
9026 break;
8998 default:
8999 break;
9000 };
9001 if (p != NULL)
9002 strlcpy(desc, p, descsz);
9003}
9004static void
9005systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10933 if (ndx == 0 || ndx == 1)
10934 p = "int";
10935 break;
10936 /* aio_mlock */
10937 case 543:
10938 if (ndx == 0 || ndx == 1)
10939 p = "int";
10940 break;
9027 default:
9028 break;
9029 };
9030 if (p != NULL)
9031 strlcpy(desc, p, descsz);
9032}
9033static void
9034systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10962 if (ndx == 0 || ndx == 1)
10963 p = "int";
10964 break;
10965 /* aio_mlock */
10966 case 543:
10967 if (ndx == 0 || ndx == 1)
10968 p = "int";
10969 break;
10970 /* procctl */
10971 case 544:
10972 if (ndx == 0 || ndx == 1)
10973 p = "int";
10974 break;
10941 default:
10942 break;
10943 };
10944 if (p != NULL)
10945 strlcpy(desc, p, descsz);
10946}
10975 default:
10976 break;
10977 };
10978 if (p != NULL)
10979 strlcpy(desc, p, descsz);
10980}