systrace_args.c (1bf6b724f1b0628cd4a6c4aac72762aff43a3cc7) systrace_args.c (b201f4a0dc1e04cf59855c58ce4dd8d79ca4a521)
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

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

3363 struct accept4_args *p = params;
3364 iarg[0] = p->s; /* int */
3365 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
3366 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
3367 iarg[3] = p->flags; /* int */
3368 *n_args = 4;
3369 break;
3370 }
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

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

3363 struct accept4_args *p = params;
3364 iarg[0] = p->s; /* int */
3365 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
3366 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
3367 iarg[3] = p->flags; /* int */
3368 *n_args = 4;
3369 break;
3370 }
3371 /* pipe2 */
3372 case 542: {
3373 struct pipe2_args *p = params;
3374 uarg[0] = (intptr_t) p->fildes; /* int * */
3375 iarg[1] = p->flags; /* int */
3376 *n_args = 2;
3377 break;
3378 }
3371 default:
3372 *n_args = 0;
3373 break;
3374 };
3375}
3376static void
3377systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3378{

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

8969 break;
8970 case 3:
8971 p = "int";
8972 break;
8973 default:
8974 break;
8975 };
8976 break;
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{

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

8977 break;
8978 case 3:
8979 p = "int";
8980 break;
8981 default:
8982 break;
8983 };
8984 break;
8985 /* pipe2 */
8986 case 542:
8987 switch(ndx) {
8988 case 0:
8989 p = "int *";
8990 break;
8991 case 1:
8992 p = "int";
8993 break;
8994 default:
8995 break;
8996 };
8997 break;
8977 default:
8978 break;
8979 };
8980 if (p != NULL)
8981 strlcpy(desc, p, descsz);
8982}
8983static void
8984systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10907 if (ndx == 0 || ndx == 1)
10908 p = "int";
10909 break;
10910 /* accept4 */
10911 case 541:
10912 if (ndx == 0 || ndx == 1)
10913 p = "int";
10914 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)

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

10928 if (ndx == 0 || ndx == 1)
10929 p = "int";
10930 break;
10931 /* accept4 */
10932 case 541:
10933 if (ndx == 0 || ndx == 1)
10934 p = "int";
10935 break;
10936 /* pipe2 */
10937 case 542:
10938 if (ndx == 0 || ndx == 1)
10939 p = "int";
10940 break;
10915 default:
10916 break;
10917 };
10918 if (p != NULL)
10919 strlcpy(desc, p, descsz);
10920}
10941 default:
10942 break;
10943 };
10944 if (p != NULL)
10945 strlcpy(desc, p, descsz);
10946}