systrace_args.c (416ba5c74546f32a993436a99516d35008e9f384) systrace_args.c (871ef8b0d892b58074d64c3b4285540d5c483e08)
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

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

3332 struct utimensat_args *p = params;
3333 iarg[0] = p->fd; /* int */
3334 uarg[1] = (intptr_t) p->path; /* char * */
3335 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3336 iarg[3] = p->flag; /* int */
3337 *n_args = 4;
3338 break;
3339 }
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

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

3332 struct utimensat_args *p = params;
3333 iarg[0] = p->fd; /* int */
3334 uarg[1] = (intptr_t) p->path; /* char * */
3335 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3336 iarg[3] = p->flag; /* int */
3337 *n_args = 4;
3338 break;
3339 }
3340 /* numa_getaffinity */
3341 case 548: {
3342 struct numa_getaffinity_args *p = params;
3343 iarg[0] = p->which; /* cpuwhich_t */
3344 iarg[1] = p->id; /* id_t */
3345 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3346 *n_args = 3;
3347 break;
3348 }
3349 /* numa_setaffinity */
3350 case 549: {
3351 struct numa_setaffinity_args *p = params;
3352 iarg[0] = p->which; /* cpuwhich_t */
3353 iarg[1] = p->id; /* id_t */
3354 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3355 *n_args = 3;
3356 break;
3357 }
3340 default:
3341 *n_args = 0;
3342 break;
3343 };
3344}
3345static void
3346systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3347{

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

8878 break;
8879 case 3:
8880 p = "int";
8881 break;
8882 default:
8883 break;
8884 };
8885 break;
3358 default:
3359 *n_args = 0;
3360 break;
3361 };
3362}
3363static void
3364systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3365{

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

8896 break;
8897 case 3:
8898 p = "int";
8899 break;
8900 default:
8901 break;
8902 };
8903 break;
8904 /* numa_getaffinity */
8905 case 548:
8906 switch(ndx) {
8907 case 0:
8908 p = "cpuwhich_t";
8909 break;
8910 case 1:
8911 p = "id_t";
8912 break;
8913 case 2:
8914 p = "struct vm_domain_policy_entry *";
8915 break;
8916 default:
8917 break;
8918 };
8919 break;
8920 /* numa_setaffinity */
8921 case 549:
8922 switch(ndx) {
8923 case 0:
8924 p = "cpuwhich_t";
8925 break;
8926 case 1:
8927 p = "id_t";
8928 break;
8929 case 2:
8930 p = "const struct vm_domain_policy_entry *";
8931 break;
8932 default:
8933 break;
8934 };
8935 break;
8886 default:
8887 break;
8888 };
8889 if (p != NULL)
8890 strlcpy(desc, p, descsz);
8891}
8892static void
8893systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10801 if (ndx == 0 || ndx == 1)
10802 p = "int";
10803 break;
10804 /* utimensat */
10805 case 547:
10806 if (ndx == 0 || ndx == 1)
10807 p = "int";
10808 break;
8936 default:
8937 break;
8938 };
8939 if (p != NULL)
8940 strlcpy(desc, p, descsz);
8941}
8942static void
8943systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)

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

10851 if (ndx == 0 || ndx == 1)
10852 p = "int";
10853 break;
10854 /* utimensat */
10855 case 547:
10856 if (ndx == 0 || ndx == 1)
10857 p = "int";
10858 break;
10859 /* numa_getaffinity */
10860 case 548:
10861 if (ndx == 0 || ndx == 1)
10862 p = "int";
10863 break;
10864 /* numa_setaffinity */
10865 case 549:
10866 if (ndx == 0 || ndx == 1)
10867 p = "int";
10868 break;
10809 default:
10810 break;
10811 };
10812 if (p != NULL)
10813 strlcpy(desc, p, descsz);
10814}
10869 default:
10870 break;
10871 };
10872 if (p != NULL)
10873 strlcpy(desc, p, descsz);
10874}