systrace_args.c (72bfb31a820d6ee9bae6dad27b3990b43077d552) systrace_args.c (4948f7bf1153b9dd92239cf752888e26af21199f)
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

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

3277 iarg[1] = p->which; /* cpuwhich_t */
3278 iarg[2] = p->id; /* id_t */
3279 uarg[3] = p->domainsetsize; /* size_t */
3280 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3281 iarg[5] = p->policy; /* int */
3282 *n_args = 6;
3283 break;
3284 }
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

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

3277 iarg[1] = p->which; /* cpuwhich_t */
3278 iarg[2] = p->id; /* id_t */
3279 uarg[3] = p->domainsetsize; /* size_t */
3280 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3281 iarg[5] = p->policy; /* int */
3282 *n_args = 6;
3283 break;
3284 }
3285 /* getrandom */
3286 case 563: {
3287 struct getrandom_args *p = params;
3288 uarg[0] = (intptr_t) p->buf; /* void * */
3289 uarg[1] = p->buflen; /* size_t */
3290 uarg[2] = p->flags; /* unsigned int */
3291 *n_args = 3;
3292 break;
3293 }
3285 default:
3286 *n_args = 0;
3287 break;
3288 };
3289}
3290static void
3291systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3292{

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

8747 break;
8748 case 5:
8749 p = "int";
8750 break;
8751 default:
8752 break;
8753 };
8754 break;
3294 default:
3295 *n_args = 0;
3296 break;
3297 };
3298}
3299static void
3300systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3301{

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

8756 break;
8757 case 5:
8758 p = "int";
8759 break;
8760 default:
8761 break;
8762 };
8763 break;
8764 /* getrandom */
8765 case 563:
8766 switch(ndx) {
8767 case 0:
8768 p = "userland void *";
8769 break;
8770 case 1:
8771 p = "size_t";
8772 break;
8773 case 2:
8774 p = "unsigned int";
8775 break;
8776 default:
8777 break;
8778 };
8779 break;
8755 default:
8756 break;
8757 };
8758 if (p != NULL)
8759 strlcpy(desc, p, descsz);
8760}
8761static void
8762systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10633 if (ndx == 0 || ndx == 1)
10634 p = "int";
10635 break;
10636 /* cpuset_setdomain */
10637 case 562:
10638 if (ndx == 0 || ndx == 1)
10639 p = "int";
10640 break;
8780 default:
8781 break;
8782 };
8783 if (p != NULL)
8784 strlcpy(desc, p, descsz);
8785}
8786static void
8787systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10658 if (ndx == 0 || ndx == 1)
10659 p = "int";
10660 break;
10661 /* cpuset_setdomain */
10662 case 562:
10663 if (ndx == 0 || ndx == 1)
10664 p = "int";
10665 break;
10666 /* getrandom */
10667 case 563:
10668 if (ndx == 0 || ndx == 1)
10669 p = "int";
10670 break;
10641 default:
10642 break;
10643 };
10644 if (p != NULL)
10645 strlcpy(desc, p, descsz);
10646}
10671 default:
10672 break;
10673 };
10674 if (p != NULL)
10675 strlcpy(desc, p, descsz);
10676}